其他分享
首页 > 其他分享> > Tomcat启动不了一定要好好看Console中的提示

Tomcat启动不了一定要好好看Console中的提示

作者:互联网

在启动Tomcat的时候出现错误,百分之九十九点九的错误都是自己的代码出现错误,就是说肯定是自己写的代码出现了错误,找错误中的 caused by中的提示,或者是其他错误提示,当然这些都是你清除缓存重启服务器或者重启电脑之后的事了,如果真是缓存或者其他不是自己代码错误的事只能看你处理的顺序了。

例如下面这个Console中的提示的错误就是我用了两个相同的别名在不同的映射中,红字标记出来的就是这个问题的所在(起码我是这样认为的,并且改好的):

严重: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/04login]]

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:945)

at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1400)

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[/04login]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)

... 6 more

Caused by: java.lang.IllegalArgumentException: The servlets named [servlet.CookieServlet] and [servlet.GetCookieServlet] are both mapped to the url-pattern [/getcookie] which is not permitted

at org.apache.tomcat.util.descriptor.web.WebXml.addServletMappingDecoded(WebXml.java:317)

at org.apache.tomcat.util.descriptor.web.WebXml.addServletMapping(WebXml.java:310)

at org.apache.catalina.startup.ContextConfig.processAnnotationWebServlet(ContextConfig.java:2374)

at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2056)

at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1941)

at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1935)

at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1146)

at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:773)

at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:307)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)

at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5262)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

... 6 more

 

三月 08, 2019 12:46:30 下午 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:945)

at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:789)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.startup.Catalina.start(Catalina.java:641)

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:349)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1400)

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:953)

at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

... 6 more

 

三月 08, 2019 12:46:30 下午 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:162)

at org.apache.catalina.startup.Catalina.start(Catalina.java:641)

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:349)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)

at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:789)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

... 7 more

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)

at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

... 9 more

Caused by: org.apache.catalina.LifecycleException: A child container failed during start

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953)

at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

... 11 more

 

三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol pause

信息: Pausing ProtocolHandler ["http-nio-8080"]

三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol pause

信息: Pausing ProtocolHandler ["ajp-nio-8009"]

三月 08, 2019 12:46:30 下午 org.apache.catalina.core.StandardService stopInternal

信息: Stopping service Catalina

三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol destroy

信息: Destroying ProtocolHandler ["http-nio-8080"]

三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol destroy

严重: Failed to destroy end point associated with ProtocolHandler ["http-nio-8080"]

java.lang.NullPointerException

at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:315)

at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:491)

at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:896)

at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:551)

at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)

at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)

at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589)

at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)

at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:879)

at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)

at org.apache.catalina.startup.Catalina.start(Catalina.java:645)

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:349)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)

 

三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol destroy

信息: Destroying ProtocolHandler ["ajp-nio-8009"]

三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol destroy

严重: Failed to destroy end point associated with ProtocolHandler ["ajp-nio-8009"]

java.lang.NullPointerException

at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:315)

at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:491)

at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:896)

at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:551)

at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)

at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)

at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589)

at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)

at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:879)

at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)

at org.apache.catalina.startup.Catalina.start(Catalina.java:645)

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:349)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)

三月 08, 2019 12:46:30 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:04login' did not find a matching property.三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Server version:        Apache Tomcat/8.0.53三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Server built:          Jun 29 2018 14:42:45 UTC三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Server number:         8.0.53.0三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: OS Name:               Windows 8.1三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: OS Version:            6.3三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Architecture:          amd64三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Java Home:             C:\Program Files\Java\jdk1.7.0_80\jre三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: JVM Version:           1.7.0_80-b15三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: JVM Vendor:            Oracle Corporation三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: CATALINA_BASE:         D:\tomcat\apache-tomcat-8.0.53-windows-x64\apache-tomcat-8.0.53三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: CATALINA_HOME:         D:\tomcat\apache-tomcat-8.0.53-windows-x64\apache-tomcat-8.0.53三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dcatalina.base=D:\tomcat\apache-tomcat-8.0.53-windows-x64\apache-tomcat-8.0.53三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dcatalina.home=D:\tomcat\apache-tomcat-8.0.53-windows-x64\apache-tomcat-8.0.53三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dwtp.deploy=D:\tomcat\apache-tomcat-8.0.53-windows-x64\apache-tomcat-8.0.53\wtpwebapps三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Djava.endorsed.dirs=D:\tomcat\apache-tomcat-8.0.53-windows-x64\apache-tomcat-8.0.53\endorsed三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dfile.encoding=GBK三月 08, 2019 12:46:30 下午 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.7.0_80\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\app\Dexter\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Java\jdk1.7.0_80\bin;C:\Program Files\Java\jdk1.7.0_80\jre\bin;;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\Dexter\AppData\Local\Microsoft\WindowsApps;;D:\vscode\Microsoft VS Code\Microsoft VS Code\bin;.三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol init信息: Initializing ProtocolHandler ["http-nio-8080"]三月 08, 2019 12:46:30 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector信息: Using a shared selector for servlet write/read三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol init信息: Initializing ProtocolHandler ["ajp-nio-8009"]三月 08, 2019 12:46:30 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector信息: Using a shared selector for servlet write/read三月 08, 2019 12:46:30 下午 org.apache.catalina.startup.Catalina load信息: Initialization processed in 922 ms三月 08, 2019 12:46:30 下午 org.apache.catalina.core.StandardService startInternal信息: Starting service Catalina三月 08, 2019 12:46:30 下午 org.apache.catalina.core.StandardEngine startInternal信息: Starting Servlet Engine: Apache Tomcat/8.0.53三月 08, 2019 12:46:30 下午 org.apache.catalina.core.ContainerBase startInternal严重: A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/04login]]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:945)at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1400)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[/04login]]at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)... 6 moreCaused by: java.lang.IllegalArgumentException: The servlets named [servlet.CookieServlet] and [servlet.GetCookieServlet] are both mapped to the url-pattern [/getcookie] which is not permittedat org.apache.tomcat.util.descriptor.web.WebXml.addServletMappingDecoded(WebXml.java:317)at org.apache.tomcat.util.descriptor.web.WebXml.addServletMapping(WebXml.java:310)at org.apache.catalina.startup.ContextConfig.processAnnotationWebServlet(ContextConfig.java:2374)at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2056)at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1941)at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1935)at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1146)at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:773)at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:307)at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5262)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)... 6 more
三月 08, 2019 12:46:30 下午 org.apache.catalina.core.ContainerBase startInternal严重: A child container failed during startjava.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:945)at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:789)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)at org.apache.catalina.startup.Catalina.start(Catalina.java:641)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:349)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1400)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 startat org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953)at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)... 6 more
三月 08, 2019 12:46:30 下午 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:162)at org.apache.catalina.startup.Catalina.start(Catalina.java:641)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:349)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:789)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)... 7 moreCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)... 9 moreCaused by: org.apache.catalina.LifecycleException: A child container failed during startat org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953)at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)... 11 more
三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol pause信息: Pausing ProtocolHandler ["http-nio-8080"]三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol pause信息: Pausing ProtocolHandler ["ajp-nio-8009"]三月 08, 2019 12:46:30 下午 org.apache.catalina.core.StandardService stopInternal信息: Stopping service Catalina三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol destroy信息: Destroying ProtocolHandler ["http-nio-8080"]三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol destroy严重: Failed to destroy end point associated with ProtocolHandler ["http-nio-8080"]java.lang.NullPointerExceptionat org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:315)at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:491)at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:896)at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:551)at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589)at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:879)at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)at org.apache.catalina.startup.Catalina.start(Catalina.java:645)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:349)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)
三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol destroy信息: Destroying ProtocolHandler ["ajp-nio-8009"]三月 08, 2019 12:46:30 下午 org.apache.coyote.AbstractProtocol destroy严重: Failed to destroy end point associated with ProtocolHandler ["ajp-nio-8009"]java.lang.NullPointerExceptionat org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:315)at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:491)at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:896)at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:551)at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589)at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:879)at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)at org.apache.catalina.startup.Catalina.start(Catalina.java:645)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:349)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)

标签:catalina,java,Tomcat,LifecycleBase,util,好好看,org,apache,Console
来源: https://www.cnblogs.com/toomucherror/p/10495087.html