| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 4883 人关注过本帖
标题:tomcat运行有错,请各位大神帮帮忙
只看楼主 加入收藏
妖邪有泪
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2014-9-5
结帖率:0
收藏
 问题点数:0 回复次数:2 
tomcat运行有错,请各位大神帮帮忙
2016-5-22 8:34:27 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class org.web.context.Listener
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at (URLClassLoader.java:260)
    at (URLClassLoader.java:56)
    at (URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at (URLClassLoader.java:188)
    at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3770)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContextListener
    at (URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at (URLClassLoader.java:188)
    at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    ... 39 more
2016-5-22 8:34:27 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
2016-5-22 8:34:27 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2016-5-22 8:34:27 org.apache.catalina.core.StandardContext start
严重: Context [/cp131] startup failed due to previous errors
2016-5-22 8:34:27 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2016-5-22 8:34:27 org.apache. init
信息: JK: ajp13 listening on /0.0.0.0:8009
2016-5-22 8:34:27 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/16  config=null
2016-5-22 8:34:27 org.apache.catalina.startup.Catalina start
信息: Server startup in 1179 ms
搜索更多相关主题的帖子: listener 
2016-05-22 08:57
山母蜀黍
Rank: 2
等 级:论坛游民
帖 子:2
专家分:20
注 册:2016-5-24
收藏
得分:0 
看看有没有缺少什么包
2016-05-24 15:45
current
Rank: 1
等 级:新手上路
威 望:1
帖 子:15
专家分:5
注 册:2016-5-31
收藏
得分:0 
严重: Error configuring application listener of class org.web.context.Listener


检查下面这个包
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
2016-05-31 10:08
快速回复:tomcat运行有错,请各位大神帮帮忙
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018036 second(s), 10 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved