Eclipse------用Tomcat运行项目后出现:严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener

Eclipse中Tomcat运行项目后出现:

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

原因:

其实是你的jar文件没有同步发布到自己项目的lib目录中(如果你是用Maven进行构建的话) 

解决方法:

 点击 Properties 选择Deployment Assembly 再点击右边的Add按钮 选择Java Build Path Entries后点击Next按钮 然后选择你的Maven Dependencies 确定即可

 

转载:
http://www.cnblogs.com/zf29506564/p/5794388.html

 

posted @ 2018-07-12 00:02  玉天恒  阅读(403)  评论(0编辑  收藏  举报