ClassNotFoundException:ContextLoaderListener
1、在eclipse中运行web项目的时候出现如下异常:java.lang.Class鲍伊酷雪NotFoundException: org.springframework.web.context.ContextLoaderListener
2、在tomcat项目部署路径下面没有发现lib文件夹
3、右击项目properties
4、接下来选中Deployment Assembly
5、点击Add,然后选中Java Build Path Entries
6、点击next,选择Maven Dependencies
7、点击完成,这样就可以解决上述错误。删除掉tomcat配置,重新配置tomcat
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:76
阅读量:43
阅读量:62
阅读量:62
阅读量:30