您的位置:首页 > 移动开发

maven管理的项目出现Error configuring application listener of class org.springframework.web.context.Context

2017-05-19 22:04 881 查看
eclipse里用maven管理的项目,在运行的时候出现


Error configuring application listener of class org.springframework.web.context.ContextLoaderListener  

然后我看了一篇博客(http://blog.163.com/gr_neverlose/blog/static/2350904320099301732573/),意思是spring.jar这个包在发布的时候没有被放入war。如果是maven管理的项目,可以看看这个项目的部署参数里有没有加入所有maven的包。具体步骤如下:
右键项目->Properties->Deployment Assembly,看看有没有Maven  Dependencies 


没有的话,点Add,选Java Build Path Entries ,拉到最下面,就可以看到Maven Dependencies,这样添加进去就可以了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐