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
- Mongodb安裝坑 - Service 'MongoDB Server' (MongDB) failed to start. Verify that you have...MongoDBServerAI
- The Tomcat connector configured to listen on port 80 failed to start. The port may already be inTomcatAI
- Host 'localhost' is not allowed to connect to this MySQL serverlocalhostMySqlServer
- Several ports (8005, 8080) required by Tomcatv9.0 Server at localhost are already in use.Tomcat解決方案UITomcatServerlocalhost
- Thread: ADMU3011E: Server launched but failed initialization. Server logfiles shthreadServerAI
- 解決Windows 2012 Server的localhost解析為::1WindowsServerlocalhost
- web server apache tomcat11-24-Virtual Hosting and TomcatWebServerApacheTomcat
- http-server快速啟動localhost與iPhone X相容HTTPServerlocalhostiPhone
- web server apache tomcat11-16-mbeanWebServerApacheTomcatBean
- web server apache tomcat11-14-CGIWebServerApacheTomcat
- web server apache tomcat11-31-websocketWebServerApacheTomcat
- web server apache tomcat11-33-CDIWebServerApacheTomcat
- Tomcat 的 Server 檔案配置詳解!!!TomcatServer
- Tomcat的Server.xml配置詳解TomcatServerXML
- 【故障處理】ORA-28547: connection to server failed, probableServerAI
- web server apache tomcat11-08-JNDI ResourcesWebServerApacheTomcat
- web server apache tomcat11-10-Class LoaderWebServerApacheTomcat
- web server apache tomcat11-26-maven jarsWebServerApacheTomcatMavenJAR
- web server apache tomcat11-29-Windows AuthenticationWebServerApacheTomcatWindows
- [Web Server]Tomcat調優之SpringBoot內嵌Tomcat原始碼分析WebServerTomcatSpring Boot原始碼
- web server apache tomcat11-18-clusting 叢集WebServerApacheTomcat
- web server apache tomcat11-22-logging 日誌WebServerApacheTomcat
- web server apache tomcat11-06-Host Manager AppWebServerApacheTomcatAPP
- web server apache tomcat11-03-deploy 如何部署WebServerApacheTomcat
- web server apache tomcat11-12-SSL/TLS ConfigurationWebServerApacheTomcatTLS
- windows server許可權對tomcat的影響WindowsServerTomcat
- webpack-dev-server啟動後,localhost:8080返回index.html的原理WebdevServerlocalhostIndexHTML
- tomcat新增專案報錯:There are no resources that can be added or removed from the serverTomcatREMServer
- Tomcat執行web程式過程及server.xml配置TomcatWebServerXML
- web server apache tomcat11-21-monitor and management 監控與管理WebServerApacheTomcat
- web server apache tomcat11-01-官方文件入門介紹WebServerApacheTomcat
- 安裝MySQL5.7報錯:The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed.MySqlServerAI
- Navicat 連線 MySQL 失敗:2002-can‘t connect to server on localhost(10061)問題解決MySqlServerlocalhost
- sql serverSQLServer
- 在webpack-dev-server內新增mock serverWebdevServerMock
- Windows server 2012 R2配置NTP ServerWindowsServer
- Realcase: Failed to upgrade SQL Server 2016 SP2 CU11. (Installation success or error status: 1648)AISQLServerError