首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java相关 >

ContextLoader.getCurrentWebApplicationContext() 返回值替空

2013-08-24 
ContextLoader.getCurrentWebApplicationContext() 返回值为空请教大家,我想得到spring的applicationConte

ContextLoader.getCurrentWebApplicationContext() 返回值为空
请教大家,我想得到spring的applicationContext.xml 文件 ,我使用ContextLoader.getCurrentWebApplicationContext(),但返回值为空。

大家知道是怎么回事吗? Spring
[解决办法]
你有没有启动应用服务器?

热点排行