Eclipse出现ContextLoaderListener not find

严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
原因:
jar包部署的时候没部署到WEB-INF的lib目录下
解决办法:
点击项目-->Properties-> Deloyment Assembly->add->java build path entries
 
将引用的jar包添加进去就可以了。如果是maven项目的话就是add->Maven Dependenies
posted @ 2017-05-22 15:22  Lost blog  阅读(303)  评论(0编辑  收藏  举报