人多不足以依赖,要生存只有靠自己。
      观念决定思路,思路决定出路。
          IF(BOOL 学习= =FALSE)BOOL 落后=TRUE;不断的学习,我们才能不断的前进。

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

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,这样添加进去就可以了。
 
转自:http://blog.csdn.net/shangshushang/article/details/44210875
 
posted @ 2016-08-24 14:29  MrZhaoFei  阅读(235)  评论(0编辑  收藏  举报