Nemo

Nemo 关注TA

路漫漫其修远兮,吾将上下而求索。

Nemo

Nemo

关注TA

路漫漫其修远兮,吾将上下而求索。

  •  普罗旺斯
  • 负责帅就完事了
  • 写了1,496,113字

该文章投稿至Nemo社区   Java  板块 复制链接


tomcat启动异常:org.apache.catalina.LifecycleException

发布于 2017/05/03 19:10 4,883浏览 0回复 7,949



新部署服务,启动时报如下错误:


03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.14

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Apr 13 2017 12:55:45 UTC

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.14.0

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jdk1.8.0_121\jre

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_121-b13

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         F:\soft\apache-tomcat-8.5.14

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         F:\soft\apache-tomcat-8.5.14

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=F:\soft\apache-tomcat-8.5.14\conf\logging.properties

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=F:\soft\apache-tomcat-8.5.14

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=F:\soft\apache-tomcat-8.5.14

03-May-2017 13:39:23.500 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=F:\soft\apache-tomcat-8.5.14\temp

03-May-2017 13:39:23.500 信息 [main] 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.8.0_121\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;C:\Program Files\apache-maven-3.5.0\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;.

03-May-2017 13:39:23.609 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]

03-May-2017 13:39:23.687 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

03-May-2017 13:39:23.687 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]

03-May-2017 13:39:23.687 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

03-May-2017 13:39:23.687 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 425 ms

03-May-2017 13:39:23.703 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

03-May-2017 13:39:23.703 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.14

03-May-2017 13:39:23.718 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive F:\soft\apache-tomcat-8.5.14\webapps\ROOT.war

03-May-2017 13:39:27.093 严重 [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 

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

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

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1EncodableVector->org.bouncycastle.asn1.DEREncodableVector->org.bouncycastle.asn1.ASN1EncodableVector]

at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2110)

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

at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:2000)

at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1970)

at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1923)

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

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

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

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

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

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

... 10 more

03-May-2017 13:39:36.528 严重 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive F:\soft\apache-tomcat-8.5.14\webapps\ROOT.war

 java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:756)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util
本文标签
 {{tag}}
点了个评