tomcat部署项目后无法正确运行?

IT_小翼 发布于 2012/11/15 14:37
阅读 5K+
收藏 0

tomcat7.0.21部署项目后就无法正常启动,没有WebApp的时候可以访问,也能打开tomat主页面,部署任何一个项目都报同样的错误,无法正常运行。错误提示如下:

严重: 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:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2012-11-15 14:33:06 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
2012-11-15 14:33:06 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
2012-11-15 14:33:06 org.apache.catalina.core.StandardContext startInternal
严重: Context [/PlatformExamWeb] startup failed due to previous errors


在此之前是正常的,我安装一个spring tool suite,然后用它启动tomcat怎么都无法启动,现在在myeclipse中也无法启动了。。。求高手帮忙!!

加载中
0
IT_小翼
IT_小翼
谢谢。。。找到原因了,是因为lib中无Jar文件。
0
niceguy_php
niceguy_php
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener,缺少Spring相关的jar包吧,ClassNotFoundException
返回顶部
顶部