猿问

tomcat启动时报错,org.springframework.web.context.ContextLoaderListener?

tomcat启动时报错,项目中并不缺少相应的jar包,一直好好的,update  project一下就成这样了。错误信息如下:

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

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

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

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

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(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

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


aston95
浏览 3787回答 1
1回答

xczzxc002

将项目在tomcat的服务器下remove一下,然后再add试试...
随时随地看视频慕课网APP

相关分类

Java
我要回答