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

解决M2E + spring + Tomcat(java.lang.NoClassDefFoundError: org/springframework/web/context/ContextCleanupListener)

更新今天
解决M2E + spring + Tomcat(java.lang.NoClassDefFoundError: org/springframework/web/context/ContextCleanupListener) 

严重: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener

java.lang.NoClassDefFoundError: org/springframework/web/context/ContextCleanupListener

at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:144)

at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4837)

at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5484)

at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1028)

at org.apache.catalina.startup.HostConfig.deleteRedeployResources(HostConfig.java:1300)

at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1251)

at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1440)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:301)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1374)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519)

at java.lang.Thread.run(Thread.java:680)

Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.ContextCleanupListener

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)

... 16 more

解决方法:
(1)


(2)



(3)


(4)



(5)


搞定了-----就这么简单
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值