Maven 异常

异常:

十二月 25, 2017 11:04:41 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source‘ to ‘org.eclipse.jst.jee.server:ssm‘ did not find a matching property.

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server version:        Apache Tomcat/9.0.1

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server built:          Sep 27 2017 17:31:52 UTC

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server number:         9.0.1.0

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Name:               Windows 10

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Version:            10.0

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Architecture:          amd64

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Java Home:             C:\Program Files\Java\jdk1.8.0_111\jre

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Version:           1.8.0_111-b14

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Vendor:            Oracle Corporation

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_BASE:         D:\workspaces\ssm_basic\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_HOME:         D:\tomcatServer\apache-tomcat-9.0.1\apache-tomcat-9.0.1

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.base=D:\workspaces\ssm_basic\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.home=D:\tomcatServer\apache-tomcat-9.0.1\apache-tomcat-9.0.1

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dwtp.deploy=D:\workspaces\ssm_basic\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.endorsed.dirs=D:\tomcatServer\apache-tomcat-9.0.1\apache-tomcat-9.0.1\endorsed

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dfile.encoding=UTF-8

十二月 25, 2017 11:04:41 下午 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_111\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jdk1.8.0_111/bin/../jre/bin/server;C:/Program Files/Java/jdk1.8.0_111/bin/../jre/bin;C:/Program Files/Java/jdk1.8.0_111/bin/../jre/lib/amd64;C:\Program Files (x86)\Graphviz2.38\bin;C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\Intel64;C:\Program Files\Java\jdk1.8.0_111\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\mybox\mypath;D:\mybox\mysql\mysql-5.7.18-winx64\mysql-5.7.18-winx64\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Git\cmd;C:\Program Files\MacType;D:\maven\apache-maven-3.5.0\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Bandizip\;D:\eclipseIDE\eclipse-jee-oxygen-1a-win32-x86_64\eclipse;;.]

十二月 25, 2017 11:04:41 下午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["http-nio-8093"]

十二月 25, 2017 11:04:41 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

信息: Using a shared selector for servlet write/read

十二月 25, 2017 11:04:41 下午 org.apache.coyote.AbstractProtocol init

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

十二月 25, 2017 11:04:41 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

信息: Using a shared selector for servlet write/read

十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 670 ms

十二月 25, 2017 11:04:41 下午 org.apache.catalina.core.StandardService startInternal

信息: Starting service [Catalina]

十二月 25, 2017 11:04:41 下午 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet Engine: Apache Tomcat/9.0.1

十二月 25, 2017 11:04:45 下午 org.apache.jasper.servlet.TldScanner scanJars

信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

十二月 25, 2017 11:04:45 下午 org.apache.catalina.core.ContainerBase startInternal

严重: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to initialize component [[email protected]]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [[email protected]]

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

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

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

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

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

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

... 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:114)

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

at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)

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

... 34 more

十二月 25, 2017 11:04:45 下午 org.apache.catalina.core.ContainerBase startInternal

严重: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: A child container failed during start

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

... 13 more

十二月 25, 2017 11:04:45 下午 org.apache.catalina.startup.Catalina start

严重: The required Server component failed to start so Tomcat is unable to start.

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

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

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

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

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

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

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

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

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

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

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

十二月 25, 2017 11:04:45 下午 org.apache.coyote.AbstractProtocol pause

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

十二月 25, 2017 11:04:45 下午 org.apache.coyote.AbstractProtocol pause

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

十二月 25, 2017 11:04:45 下午 org.apache.catalina.core.StandardService stopInternal

信息: Stopping service [Catalina]

十二月 25, 2017 11:04:45 下午 org.apache.coyote.AbstractProtocol destroy

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

十二月 25, 2017 11:04:45 下午 org.apache.coyote.AbstractProtocol destroy

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

解决方案:

jar 包冲突、请手动排除。

我的冲突位置位置为

<!-- druid 连接池 -->

<dependency>

<groupId>com.alibaba</groupId>

<artifactId>druid</artifactId>

<version>1.1.6</version>

</dependency>

修改为

<!-- druid 连接池 -->

<dependency>

<groupId>com.alibaba</groupId>

<artifactId>druid</artifactId>

<version>1.0.12</version>

</dependency>

十二月 25, 2017 11:04:41 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source‘ to ‘org.eclipse.jst.jee.server:ssm‘ did not find a matching property.十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Server version:        Apache Tomcat/9.0.1十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Server built:          Sep 27 2017 17:31:52 UTC十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Server number:         9.0.1.0十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: OS Name:               Windows 10十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: OS Version:            10.0十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Architecture:          amd64十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Java Home:             C:\Program Files\Java\jdk1.8.0_111\jre十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: JVM Version:           1.8.0_111-b14十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: JVM Vendor:            Oracle Corporation十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: CATALINA_BASE:         D:\workspaces\ssm_basic\.metadata\.plugins\org.eclipse.wst.server.core\tmp0十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: CATALINA_HOME:         D:\tomcatServer\apache-tomcat-9.0.1\apache-tomcat-9.0.1十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dcatalina.base=D:\workspaces\ssm_basic\.metadata\.plugins\org.eclipse.wst.server.core\tmp0十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dcatalina.home=D:\tomcatServer\apache-tomcat-9.0.1\apache-tomcat-9.0.1十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dwtp.deploy=D:\workspaces\ssm_basic\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Djava.endorsed.dirs=D:\tomcatServer\apache-tomcat-9.0.1\apache-tomcat-9.0.1\endorsed十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dfile.encoding=UTF-8十二月 25, 2017 11:04:41 下午 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_111\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jdk1.8.0_111/bin/../jre/bin/server;C:/Program Files/Java/jdk1.8.0_111/bin/../jre/bin;C:/Program Files/Java/jdk1.8.0_111/bin/../jre/lib/amd64;C:\Program Files (x86)\Graphviz2.38\bin;C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\Intel64;C:\Program Files\Java\jdk1.8.0_111\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\mybox\mypath;D:\mybox\mysql\mysql-5.7.18-winx64\mysql-5.7.18-winx64\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Git\cmd;C:\Program Files\MacType;D:\maven\apache-maven-3.5.0\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Bandizip\;D:\eclipseIDE\eclipse-jee-oxygen-1a-win32-x86_64\eclipse;;.]十二月 25, 2017 11:04:41 下午 org.apache.coyote.AbstractProtocol init信息: Initializing ProtocolHandler ["http-nio-8093"]十二月 25, 2017 11:04:41 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector信息: Using a shared selector for servlet write/read十二月 25, 2017 11:04:41 下午 org.apache.coyote.AbstractProtocol init信息: Initializing ProtocolHandler ["ajp-nio-8009"]十二月 25, 2017 11:04:41 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector信息: Using a shared selector for servlet write/read十二月 25, 2017 11:04:41 下午 org.apache.catalina.startup.Catalina load信息: Initialization processed in 670 ms十二月 25, 2017 11:04:41 下午 org.apache.catalina.core.StandardService startInternal信息: Starting service [Catalina]十二月 25, 2017 11:04:41 下午 org.apache.catalina.core.StandardEngine startInternal信息: Starting Servlet Engine: Apache Tomcat/9.0.1十二月 25, 2017 11:04:45 下午 org.apache.jasper.servlet.TldScanner scanJars信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.十二月 25, 2017 11:04:45 下午 org.apache.catalina.core.ContainerBase startInternal严重: A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to initialize component [[email protected]]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:947)at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)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:941)at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.startup.Catalina.start(Catalina.java:671)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:355)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [[email protected]]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:4758)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4893)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)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:941)... 21 moreCaused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid LOC header (bad signature)at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:114)at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)... 33 moreCaused 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:717)at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)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:112)... 34 more
十二月 25, 2017 11:04:45 下午 org.apache.catalina.core.ContainerBase startInternal严重: A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: A child container failed during startat 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:947)at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.startup.Catalina.start(Catalina.java:671)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:355)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)Caused by: org.apache.catalina.LifecycleException: A child container failed during startat org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:956)at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)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:941)... 13 more
十二月 25, 2017 11:04:45 下午 org.apache.catalina.startup.Catalina start严重: The required Server component failed to start so Tomcat is unable to start.org.apache.catalina.LifecycleException: A child container failed during startat org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:956)at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.startup.Catalina.start(Catalina.java:671)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:355)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
十二月 25, 2017 11:04:45 下午 org.apache.coyote.AbstractProtocol pause信息: Pausing ProtocolHandler ["http-nio-8093"]十二月 25, 2017 11:04:45 下午 org.apache.coyote.AbstractProtocol pause信息: Pausing ProtocolHandler ["ajp-nio-8009"]十二月 25, 2017 11:04:45 下午 org.apache.catalina.core.StandardService stopInternal信息: Stopping service [Catalina]十二月 25, 2017 11:04:45 下午 org.apache.coyote.AbstractProtocol destroy信息: Destroying ProtocolHandler ["http-nio-8093"]十二月 25, 2017 11:04:45 下午 org.apache.coyote.AbstractProtocol destroy信息: Destroying ProtocolHandler ["ajp-nio-8009"]

原文地址:https://www.cnblogs.com/bg7c/p/8111684.html

时间: 2024-11-08 11:30:13

Maven 异常的相关文章

Maven异常_04_Failed to clean project

异常:Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project taotao-manager-web: Failed to clean project 现象:eclipse在使用maven的tomcat控件编译java程序时,报错Failed to execute goal org.apache.maven.plugins:maven-clean-

Maven异常_02_compile faile_Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project

异常:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project 原因:(1)可能给eclipse配了一个jre而不是jdk,(2)可能是jdk版本过低 解决:window->preferences->java->installed JREs ,发现配了一个假的jdk,它是一个jre........ 配上一个jdk后,问题就解决

Maven异常_06_ Unknown lifecycle phase &quot;mvn&quot;

一.异常现象 在eclipse中执行以下maven命令 时, mvn spring-boot:run 报出如下错误: Unknown lifecycle phase "mvn" 二.异常原因 当我们在eclipse中执行maven命令时,不需要加mvn: 三.解决方法 项目名右键 - > Run as - > maven build.. , 弹出一个编译框,Base directory是要编译项目的跟目录 ,Goals是输入mvn命令的, 输入以下命令即可: spring-

invalid LOC header (bad signature)-Maven异常

异常信息: 错误: 读取D:\dev-tool\maven-repository\org\springframework\boot\spring-boot\1.4.2.RELEASE\spring-boot-1.4.2.RELEASE.jar时出错; invalid LOC header (bad signature) 异常原因: 该包没有被完整正确的下载. 解决方法: 把提示的文件删掉,让maven重新下载. 其他建议 把maven下载源由国外转成阿里镜像源,只要花一点时间就可以减少类似低级问

业余草 maven异常:Updating Maven Project 的统一解决方案

现在使用maven的公司和团队越来越多,虽然没有Gradle那么灵活,但是现对于以前的项目构建方式还是很有优势的,下面分享一个maven update 时的异常统一解决方案: 异常案例: 1.An internal error occurred during: "Updating Maven Project".   > Unsupported IClasspathEntry kind=4 <code class="language-java">2.

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK Maven异常解决方案

出现像以上情况,需要在Eclipse中的preferences->Java->Installed JREs修改JDK的路径 修改之后 在Maven选项中,选择Update project.. 错误应该解决得了!!! 新手,做的笔记!如错误不能解决请另行查找!

maven异常解决:编码GBK的不可映射字符

直接将项目改为UTF-8编码,无效! 要通过修改pom.xml文件,告诉maven这个项目使用UTF-8来编译. 一.问题描述 今天在MyEclipse中使用Maven编译项目源代码时,结果如下了如下的错误 百思不得其解啊,Java源代码在MyEclipse中显示是没有任何错误的,可是执行"maven install"命令编译项目时就会出现上述的错误,导致项目编译失败.这个问题还是第一次遇到,还好在这里http://capslk.iteye.com/blog/1419958看到了解决问

Maven异常_01_MANIFEST.MF (系统找不到指定的路径。)

一.问题现象 Maven项目中的pom.xml文件的第一行,出现了xxx\target\classes\META-INF\MANIFEST.MF (系统找不到指定的路径)的问题 二.原因分析 Maven刷新没有完成处理步骤 三.解决方法 方法1: 找到eclipse的project菜单选择clean...选项 选择Clean all projects 或者 Clean projects selectd blow(选择此项必须勾选出错的项目) 等着progress视图里的build完成,你就会发现

Maven异常: No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK解决(能力工场小马哥)

问题描述: No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK 解决方案:  1- MyEclipse菜单 - Window - Preferences- Java - Installed JREs 将配置的JRE定位到JDK,最好是修改为jdk1.7 现在仍在探索,为什么我现在使用的MyEclipse( 版本2015 CI )里面的Maven JDK下拉选