2 wzk1250847840 wzk1250847840 于 2016.09.20 15:36 提问

求解决 tomcat启动失败

我启动tomcat时候图片说明

九月 20, 2016 3:18:03 下午 org.apache.catalina.core.AprLifecycleListener init
信息: 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.7.0_67\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\AppServ\php5.3\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;D:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.7.0_67;D:\apache-maven-3.2.3\bin;D:\activator-1.2.3;d:\AppServ\Apache2.2\bin;d:\AppServ\php5;d:\AppServ\MySQL\bin;C:\Program Files\Java\jdk1.7.0_67;d:\apache-maven-3.3.9\bin;E:\apache-cxf-2.7.11\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;.
九月 20, 2016 3:18:03 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:institutionSimulator-website' did not find a matching property.
九月 20, 2016 3:18:04 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
九月 20, 2016 3:18:04 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
九月 20, 2016 3:18:04 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 466 ms
九月 20, 2016 3:18:04 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
九月 20, 2016 3:18:04 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.55
九月 20, 2016 3:18:06 下午 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[/ccjmu-pay]]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ccjmu-pay]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
... 6 more
Caused by: java.lang.NoClassDefFoundError: payment/simulator/institution/ccjoin/form/PaymentFrom
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
at java.lang.Class.getDeclaredMethods(Class.java:1855)
at org.apache.catalina.util.Introspection.getDeclaredMethods(Introspection.java:127)
at org.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation(WebAnnotationSet.java:287)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:140)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:403)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:879)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:374)
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:5378)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more
Caused by: java.lang.ClassNotFoundException: payment.simulator.institution.ccjoin.form.PaymentFrom
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
... 20 more

九月 20, 2016 3:18:06 下午 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.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
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:739)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalina.java:689)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
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:1575)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
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:816)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more

九月 20, 2016 3:18:06 下午 org.apache.catalina.startup.Catalina start
严重: The required Server component failed to start so Tomcat is unable to 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:689)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
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:739)
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:300)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more

九月 20, 2016 3:18:06 下午 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["http-bio-8080"]
九月 20, 2016 3:18:06 下午 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["ajp-bio-8009"]
九月 20, 2016 3:18:06 下午 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service Catalina
九月 20, 2016 3:18:06 下午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["http-bio-8080"]
九月 20, 2016 3:18:06 下午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["ajp-bio-8009"]

6个回答

qnjksy
qnjksy   2016.09.20 16:23

应该是jar包的问题
http://blog.csdn.net/ws_blog/article/details/12709591
参考看看 希望对你有帮助

quasimodo_es
quasimodo_es   2016.09.20 17:32

Caused by: java.lang.NoClassDefFoundError: payment/simulator/institution/ccjoin/form/PaymentFrom
这个类没有啊

oSanYeCao1234567
oSanYeCao1234567   Ds   Rxr 2016.09.20 22:21

重新安装吧,应该不是tomcat里面项目的问题

qq_35067322
qq_35067322   2016.09.20 23:25

tomcat 配置的问题

a541995149
a541995149   2016.09.21 23:24

是不是8005或8009端口被占用了?检查下端口吧

meng20166
meng20166   Rxr 2016.09.23 14:09

默认情况下,server.xml的 Context元素不支持名称为source的属性,就出现该警告

双击eclipse下tomcat服务器,在出来的Tomcat server at localhost页面中找到
server options选项,选中其中的选项”Publish modual contexts to separat XML
files“,ctr+s,启动tomcat.

Tomcat 7.0不适用以上方法,应该用以下方法解决:

关闭tomcat,将Context的source属性去掉,然后将docBase属性指向默认的

wtpwebapps目录下对应的项目,暂未发现有什么问题。
如:

作者:有铭
链接:https://www.zhihu.com/question/22298367/answer/30704992
来源:知乎
著作权归作者所有,转载请联系作者获得授权。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
My eclipse中tomcat启动失败的问题
myeclipse启动TOMCAT时启动不了,出现DEBUG,控制台没有反应;这时打开其设置TOMCAT的菜单,window->MyEclipse->servers->Tomcat->Tomcat 6.x->Launch->在右面选种单选项Run mode,点Apply,OK. 重启动TOMCAT就好了。
tomcat启动失败的3种解决办法
Tomcat启动失败的解决办法1. 重复映射用eclipse开发时,用Eclipse开发,新建了的servlet会有一个url-pattern声明: 这样就不需要再在web.xml中添加映射,如果在web.xml中添加这样一段:<servlet> <servlet-name>ServletContextDemo</servlet-name> &l...
Dubbo管理控制台(dubbo-admin-2.5.3-jdk1.8)
解决dubbo admin在jdk1.8下启动失败问题。直接解压到Tomcat下,jdk1.8可用。
tomcat 启动出错 解决办法
信息: Initializing Spring root WebApplicationContextlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).log4j:WARN Please initialize the log4j system proper
Eclipse中Tomcat启动失败的解决方案
( Eclipse中Tomcat启动失败的解决方案.txt
启动子容器失败:A child container failed during start
启动子容器失败:A child container failed during start
eclipse 启动Tomcat失败(Server Tomcat v7.0 Server at localhost fialed to start)
首先,本人初学JAVA,所谓工欲善其事,必先利其器,首先要把开发工具和开发环境弄明白,所有的事情都按照网上的教程配置后,出现了意想不到的错误(Server Tomcat v7.0 Server at localhost fialed to start),可把我愁坏了,这里所说的启动Tomcat失败,是在     1、JDK和Tomcat都已经正确安装,     给个链接(http://jing
Tomcat 设置自启动时遇到的错误问题与解决方案
首先,今天在做tomcat开机自启动时,原本很简单的一个问题,但却浪费了很长时间: 首先系统环境采用的是Window10,设置Tomcat自启动过程当中需要注意的是:JDK的版本和Tomcat的位数必须保持一致,假设JDK采用的是JDK1.7 32位,而Tomcat7采用64位, 那么在Tomcat服务安装成功之后,则无法正常启动,启动时将会提示Windows不能在本地计算机上运行,出现这个问
项目启动tomcat失败的几种可能原因和解决方法
总结一下tomcat启动问题,也给自己做个笔记 , 逐渐补充完善。1、java配置路径有问题,请配置好jdk路径,具体参考java路径的配置吧。2、项目未添加tomcat驱动,(一般提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path属于这一类)解决方法:选择项目右键build ...
tomcat启动失败 ----Server Tomcat v8.0 Server at localhost failed to start.
首先,事情是这样发生的,之前tomcat运行的还好好的,结果隔了几天再去敲代码的时候,运行tomcat就开始报错了 然后我就觉得tomcat出问题了,默默的就删除了这个tomcat8【版本是8.0.0】,重新在官网上下载了新的tomcat8【版本是8.5.4】,按照这个博主里面的方法弄了一下 http://blog.csdn.net/caiwenfeng_for_23/article/detai