java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

原创 2017年01月03日 14:18:06

导入同事工程,报错:
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

最终按如下操作解决:
I had a similar problem when running a spring web application in an Eclipse managed tomcat. I solved this problem by adding maven dependencies in the project’s web deployment assembly.

Open the project’s properties (e.g., right-click on the project’s name in the project explorer and select “Properties”).
Select “Deployment Assembly”.
Click the “Add…” button on the right margin.
Select “Java Build Path Entries” from the menu of Directive Type and click “Next”.
Select “Maven Dependencies” from the Java Build Path Entries menu and click “Finish”.
You should see “Maven Dependencies” added to the Web Deployment Assembly definition.

原文地址:http://stackoverflow.com/questions/6210757/java-lang-classnotfoundexception-org-springframework-web-context-contextloaderl/30054250

maven 项目出现 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

maven 项目出现 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener ...

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener错误解决方案

学习spring+cxf的时候遇到一个问题:在web.xml中配置了spring的上下文监听器: org.springframework.web.context.ContextLoad...
  • arenn
  • arenn
  • 2017年03月23日 09:58
  • 547

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

Eclipse中tomcat部署工程启动后报错: Shell代码   严重: Error configuring application listener of class o...

maven项目启动报错: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

maven项目启动报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener ...

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener的解决办法

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener的解决办法...

我的maven项目出现java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

最近在githug看到一个开源项目挺好,就档下来了,可是导入eclipse去错误了,如下:严重: Error configuring application listener of class org...

启动Maven项目报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

部署Maven项目到tomcat报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderLi...

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 错误处理办法

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 错误处理。...

maven项目报错java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

问题:   刚导入的maven项目,部署到myeclipse的tomcat服务器中,启动报错java.lang.ClassNotFoundException: org.springframework....

【java】—— 真正解决java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

在使用eclipse进行整合springmvc时经常会碰到这样的异常: java.lang.ClassNotFoundException:org.springframework.web.context...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
举报原因:
原因补充:

(最多只允许输入30个字)