博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
(转)Eclipse4.2 Tomcat启动报错 A child container failed during start
阅读量:5788 次
发布时间:2019-06-18

本文共 8438 字,大约阅读时间需要 28 分钟。

 Eclipse4.2 Tomcat启动报错 A child container failed during start

2013-5-21 15:02:24 org.apache.catalina.core.AprLifecycleListener init

信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
2013-5-21 15:02:24 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2013-5-21 15:02:25 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
2013-5-21 15:02:25 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
2013-5-21 15:02:25 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
2013-5-21 15:02:25 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 937 ms
2013-5-21 15:02:25 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2013-5-21 15:02:25 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.39
2013-5-21 15:02:29 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rcu]]
   at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
   at java.util.concurrent.FutureTask.get(FutureTask.java:83)
   at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
   at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
   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$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: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rcu]]
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
   ... 7 more
Caused by: java.lang.NoClassDefFoundError: HttpSessionEvent
   at java.lang.Class.getDeclaredMethods0(Native Method)
   at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
   at java.lang.Class.getDeclaredMethods(Class.java:1791)
   at org.apache.catalina.util.Introspection.getDeclaredMethods(Introspection.java:127)
   at org.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation(WebAnnotationSet.java:279)
   at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:91)
   at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)
   at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:405)
   at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)
   at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)
   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.StandardContext.startInternal(StandardContext.java:5269)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   ... 7 more
Caused by: java.lang.ClassNotFoundException: HttpSessionEvent
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
   ... 21 more
2013-5-21 15:02:29 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
   at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
   at java.util.concurrent.FutureTask.get(FutureTask.java:83)
   at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
   at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:684)
   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:322)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
   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$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: org.apache.catalina.LifecycleException: A child container failed during start
   at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)
   at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   ... 7 more
2013-5-21 15:02:29 org.apache.catalina.startup.Catalina start
严重: Catalina.start: 
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:684)
   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:322)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
   at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   ... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
   at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   ... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
   at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)
   at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   ... 11 more
2013-5-21 15:02:29 org.apache.catalina.startup.Catalina start
信息: Server startup in 4338 ms

 

 

----------------------------解决方法----------------------------------------------------

1:项目名上右键>>properties>>java build path

2:libraries选项卡>>右边Add library>>Server Runtime>>选一个Tomcat>>>finish

3:重新启动

 

转载地址:http://taqyx.baihongyu.com/

你可能感兴趣的文章
应用虚拟化,时不我待的变革——“瑞友杯”虚拟化征文
查看>>
IDS与IPS的区别
查看>>
Lync日常维护之二:批量修改用户所属SIP域
查看>>
在工作中学习,在学习中工作
查看>>
6436B Lab13 设计和实现域的重构
查看>>
我的友情链接
查看>>
性能压测诡异的Requests/second 响应刺尖问题
查看>>
Java 并发编程内部分享PPT分享
查看>>
酷客多荣获“2018年度中国最具创新力小程序品牌”奖
查看>>
Word 2003从入门到精通第4讲(表格)
查看>>
puppet成长日记二 Package资源详细介绍及案例分析
查看>>
免费下载pro puppet 2高清pdf,需要的抓紧
查看>>
一个民工的数字化生活
查看>>
台媒关于近期SIEM市场的一个综述
查看>>
数据库安全:不只是DAM
查看>>
《统一沟通-微软-实战》-3-部署-Exchange 2010-4-基本配置
查看>>
八、IO优化(2)IO性能评估工具
查看>>
web2.0带来了前端软件开发工程师
查看>>
分享Silverlight/WPF/Windows Phone/HTML5一周学习导读(3月12日-3月18日)
查看>>
Office Web Apps所需证书的申请分配部署详解
查看>>