首页新闻找找看学习计划

eclipse项目启动报错ContainerBase.addChild: start:

0
[已关闭问题] 关闭于 2017-03-08 10:54

2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/7.0.57
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Nov 3 2014 08:39:16 UTC
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         7.0.57.0
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 7
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            6.1
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: JAVA_HOME:             C:\Program Files\Java\jdk1.6.0_24\jre
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.6.0_24-b07
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Sun Microsystems Inc.
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         D:\newStrength\platform\apache-tomcat-7.0.57
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         D:\newStrength\platform\apache-tomcat-7.0.57
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:49886
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\newStrength\platform\apache-tomcat-7.0.57
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\newStrength\platform\apache-tomcat-7.0.57\endorsed
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\newStrength\platform\apache-tomcat-7.0.57
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=D:\newStrength\platform\apache-tomcat-7.0.57\temp
2017-3-6 10:42:02 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
2017-3-6 10:42:02 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_24\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_24\jre\bin;D:\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\C:\Program Files\Java\jdk1.6.0_24/bin;C:\Program Files\Java\jdk1.6.0_24/jre/bin;D:\svn\bin;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;d:\Program Files \SSH Secure Shell
2017-3-6 10:42:03 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8092"]
2017-3-6 10:42:03 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8011"]
2017-3-6 10:42:03 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1511 ms
2017-3-6 10:42:03 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2017-3-6 10:42:03 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.57
2017-3-6 10:42:03 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor D:\newStrength\platform\apache-tomcat-7.0.57\conf\Catalina\localhost\fe.xml
2017-3-6 10:42:03 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\newStrength\workspaceLCW\fe\WebContent\WEB-INF\lib\j2ee.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
2017-3-6 10:42:03 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\newStrength\workspaceLCW\fe\WebContent\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
2017-3-6 10:42:03 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/fe]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    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)
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
    at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:90)
    at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1559)
    at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1281)
    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5380)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 11 more
2017-3-6 10:42:03 org.apache.catalina.startup.HostConfig deployDescriptor
严重: Error deploying configuration descriptor D:\newStrength\platform\apache-tomcat-7.0.57\conf\Catalina\localhost\fe.xml
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/fe]]
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    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)
2017-3-6 10:42:03 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deployment of configuration descriptor D:\newStrength\platform\apache-tomcat-7.0.57\conf\Catalina\localhost\fe.xml has finished in 561 ms
2017-3-6 10:42:03 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8092"]
2017-3-6 10:42:03 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8011"]
2017-3-6 10:42:03 org.apache.catalina.startup.Catalina start
信息: Server startup in 644 ms

天阴的时候的主页 天阴的时候 | 菜鸟二级 | 园豆:202
提问于:2017-03-06 10:55
< >
分享
所有回答(1)
0

我tomcat部署项目的时候遇到过 这个问题java.lang.IllegalStateException: ContainerBase.addChild: 是 jar冲突 有俩一样的jar

chn_chn | 园豆:202 (菜鸟二级) | 2017-03-08 17:39

恩恩,试过了,还是不行。最后项目比较急,没时间再去改了,直接换了一个tomcat,成功了。感觉是tomcat哪里有问题了。不过,还是多谢了。谢谢!!

支持(0) 反对(0) 天阴的时候 | 园豆:202 (菜鸟二级) | 2017-03-09 15:15
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册