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

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

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

1、错误描述一月 10, 2017 2:07:39 下午 org.apache.catalina.startup.HostConfig checkResources 信息: Reloading con...

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

eclipse maven 项目,一直都运行得好好的,某天不知道具体做了什么操作,突然就开始报这个错,且eclipse中项目上有红叉提示错误,但是错误找不到,类似下图: 在eclipse Mark...

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
  • 273

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

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

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

首先看国外解决: 下面是总结的解决方法: 在使用eclipse进行整合springmvc时经常会碰到这样的异常: java.lang.ClassNotFoundException:org.spri...

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

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

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的解决办法
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

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