码迷,mamicode.com
首页 > 编程语言 > 详细

Maven项目Eclipse启动时报错: java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener

时间:2017-08-21 14:56:09      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:exce   run   项目   win   exception   nal   otf   apache   erro   

Eclipse中启动Maven项目时报如下错误:

 

严重: Error configuring application listener of class org.springframework.web.util.IntrospectorCleanupListener  
java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener  
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)  
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)  
    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)  
    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)  
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)  
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888)  
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)  
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)  
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)  
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)  
    at java.util.concurrent.FutureTask.run(Unknown Source)  
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
    at java.lang.Thread.run(Unknown Source)

 

一般是项目的Maven Dependencies没有添加到项目的编译路径下。

解决办法:选中项目名称右键 --> Properties --> Deployment Assemby --> Add --> Java Build Path Entries --> Finish --> Apply --> OK

添加完成之后如下图所示:

技术分享

 

转载(原文):http://www.cnblogs.com/guyezhai/p/5217632.html

Maven项目Eclipse启动时报错: java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener

标签:exce   run   项目   win   exception   nal   otf   apache   erro   

原文地址:http://www.cnblogs.com/goldenVip/p/7404055.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!