Server Tomcat v9.0 Server at localhost failed to start.
基於ssm的maven專案,tomcat啟動報錯
控制檯資訊:
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: Server.伺服器版本: Apache Tomcat/9.0.14
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: Server.構建: Dec 6 2018 21:13:53 UTC
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: Server version number: 9.0.14.0
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: OS Name: Mac OS X
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: OS.版本: 10.14.2
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: 結.造: x86_64
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: Java 環境變數: /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: JVM 版本: 1.8.0_181-b13
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: JVM.供應商: Oracle Corporation
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: CATALINA_BASE: /Users/weichuanchao/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: CATALINA_HOME: /Library/Tomcat
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: Command line argument: -Dcatalina.base=/Users/weichuanchao/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: Command line argument: -Dcatalina.home=/Library/Tomcat
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: Command line argument: -Dwtp.deploy=/Users/weichuanchao/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: Command line argument: -Djava.endorsed.dirs=/Library/Tomcat/endorsed
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.VersionLoggerListener log
資訊: Command line argument: -Dfile.encoding=GBK
三月 13, 2019 1:30: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: [/Users/weichuanchao/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
三月 13, 2019 1:30:02 上午 org.apache.coyote.AbstractProtocol init
資訊: 初始化協議處理器 ["http-nio-8080"]
三月 13, 2019 1:30:02 上午 org.apache.coyote.AbstractProtocol init
資訊: 初始化協議處理器 ["ajp-nio-8009"]
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.Catalina load
資訊: 伺服器在[527]毫秒內初始化
三月 13, 2019 1:30:02 上午 org.apache.catalina.core.StandardService startInternal
資訊: Starting service [Catalina]
三月 13, 2019 1:30:02 上午 org.apache.catalina.core.StandardEngine startInternal
資訊: Starting Servlet engine: [Apache Tomcat/9.0.14]
三月 13, 2019 1:30:02 上午 org.apache.catalina.core.ContainerBase startInternal
嚴重: 子容器啟動失敗
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 初始化元件[org.apache.catalina.webresources.JarResourceSet@37e547da]失敗。
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:914)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:933)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:637)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.apache.catalina.LifecycleException: 初始化元件[org.apache.catalina.webresources.JarResourceSet@37e547da]失敗。
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:724)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4778)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4913)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)
... 21 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid LOC header (bad signature)
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:143)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
... 33 more
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1400(ZipFile.java:60)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:734)
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:434)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at sun.misc.IOUtils.readFully(IOUtils.java:65)
at java.util.jar.JarFile.getBytes(JarFile.java:425)
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193)
at java.util.jar.JarFile.getManifest(JarFile.java:180)
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:141)
... 34 more
三月 13, 2019 1:30:02 上午 org.apache.catalina.core.ContainerBase startInternal
嚴重: 子容器啟動失敗
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 子容器啟動失敗
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:914)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:933)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:637)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.apache.catalina.LifecycleException: 子容器啟動失敗
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:926)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)
... 13 more
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 初始化元件[org.apache.catalina.webresources.JarResourceSet@37e547da]失敗。
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:914)
... 21 more
Caused by: org.apache.catalina.LifecycleException: 初始化元件[org.apache.catalina.webresources.JarResourceSet@37e547da]失敗。
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:724)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4778)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4913)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)
... 21 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid LOC header (bad signature)
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:143)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
... 33 more
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1400(ZipFile.java:60)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:734)
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:434)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at sun.misc.IOUtils.readFully(IOUtils.java:65)
at java.util.jar.JarFile.getBytes(JarFile.java:425)
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193)
at java.util.jar.JarFile.getManifest(JarFile.java:180)
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:141)
... 34 more
三月 13, 2019 1:30:02 上午 org.apache.catalina.startup.Catalina start
嚴重: 所必需的服務元件啟動失敗,所以無法啟動Tomcat
org.apache.catalina.LifecycleException: 子容器啟動失敗
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:926)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:933)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:637)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 子容器啟動失敗
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:914)
... 13 more
Caused by: org.apache.catalina.LifecycleException: 子容器啟動失敗
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:926)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)
... 13 more
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 初始化元件[org.apache.catalina.webresources.JarResourceSet@37e547da]失敗。
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:914)
... 21 more
Caused by: org.apache.catalina.LifecycleException: 初始化元件[org.apache.catalina.webresources.JarResourceSet@37e547da]失敗。
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:724)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4778)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4913)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)
... 21 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid LOC header (bad signature)
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:143)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
... 33 more
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1400(ZipFile.java:60)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:734)
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:434)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at sun.misc.IOUtils.readFully(IOUtils.java:65)
at java.util.jar.JarFile.getBytes(JarFile.java:425)
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193)
at java.util.jar.JarFile.getManifest(JarFile.java:180)
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:141)
... 34 more
三月 13, 2019 1:30:02 上午 org.apache.coyote.AbstractProtocol pause
資訊: Pausing ProtocolHandler ["http-nio-8080"]
三月 13, 2019 1:30:02 上午 org.apache.coyote.AbstractProtocol pause
資訊: Pausing ProtocolHandler ["ajp-nio-8009"]
三月 13, 2019 1:30:02 上午 org.apache.catalina.core.StandardService stopInternal
資訊: Stopping service [Catalina]
三月 13, 2019 1:30:02 上午 org.apache.coyote.AbstractProtocol destroy
資訊: 正在摧毀協議處理器 ["http-nio-8080"]
三月 13, 2019 1:30:02 上午 org.apache.coyote.AbstractProtocol destroy
資訊: 正在摧毀協議處理器 ["ajp-nio-8009"]
解決方法:
轉發請註明:http://my.csdn.net/zhulangfly
相關文章
- 關於解決Server Tomcat v9.0 Server at localhost failed to start的問題ServerTomcatlocalhostAI
- Server Tomcat v7.0 Server at localhost failed to startServerTomcatlocalhostAI
- Mongodb安裝坑 - Service 'MongoDB Server' (MongDB) failed to start. Verify that you have...MongoDBServerAI
- Could not publish server configuration for Tomcat v7.0 Server at localhost. Multiple Contexts have aServerTomcatlocalhostContext
- MySQL server5.7版出現server failedMySqlServerAI
- Host 'localhost' is not allowed to connect to this MySQL serverlocalhostMySqlServer
- The Tomcat connector configured to listen on port 80 failed to start. The port may already be inTomcatAI
- 配置Apache Server + Tomcat (轉)ApacheServerTomcat
- http-server快速啟動localhost與iPhone X相容HTTPServerlocalhostiPhone
- Several ports (8005, 8080) required by Tomcatv9.0 Server at localhost are already in use.Tomcat解決方案UITomcatServerlocalhost
- Xtrabackup備份報錯Failed to connect to MySQL serverAIMySqlServer
- CRS-2765: Resource 'ora.crsd' has failed on serverAIServer
- 解決Windows 2012 Server的localhost解析為::1WindowsServerlocalhost
- Tomcat的Server.xml配置詳解TomcatServerXML
- Tomcat 的 Server 檔案配置詳解!!!TomcatServer
- Apache Http Server和Tomcat 之區別ApacheHTTPServerTomcat
- web server apache tomcat11-16-mbeanWebServerApacheTomcatBean
- web server apache tomcat11-31-websocketWebServerApacheTomcat
- web server apache tomcat11-33-CDIWebServerApacheTomcat
- web server apache tomcat11-14-CGIWebServerApacheTomcat
- IntelliJ IDEA 配置遠端Tomcat:Tomcat server RemoteIntelliJIdeaTomcatServerREM
- web server apache tomcat11-24-Virtual Hosting and TomcatWebServerApacheTomcat
- 【故障處理】ORA-28547: connection to server failed, probableServerAI
- FAL[server, ARCN]: FAL archive failed ORA-16401ServerHiveAI
- solrcloud 報 HTTP Status 503 - Server is shutting down or failed to initializeSolrCloudHTTPServerAI
- Thread: ADMU3011E: Server launched but failed initialization. Server logfiles shthreadServerAI
- tomcat支援https的server.xml配置TomcatHTTPServerXML
- 詳解Tomcat 配置檔案server.xmlTomcatServerXML
- web server apache tomcat11-26-maven jarsWebServerApacheTomcatMavenJAR
- web server apache tomcat11-29-Windows AuthenticationWebServerApacheTomcatWindows
- web server apache tomcat11-08-JNDI ResourcesWebServerApacheTomcat
- ORA-12500: TNS:listener failed to start a dedicated server processAIServer
- ORA-12500 TNS : listener failed to start a dedicated server processAIServer
- Tomcat 7 server.xml 配置檔案詳解TomcatServerXML
- tomcat中的server.xml元素詳解 【Z】TomcatServerXML
- 緊急求救,我的Tomcat Server 會當機!!!TomcatServer
- web server apache tomcat11-10-Class LoaderWebServerApacheTomcat
- web server apache tomcat11-03-deploy 如何部署WebServerApacheTomcat