Configuring Tomcat error issues under eclipse

Source: Internet
Author: User
Tags apache tomcat

October 20, 2017 5:09:42 pm Org.apache.tomcat.util.digester.SetPropertiesRule begin
Warning: [Setpropertiesrule]{server/service/engine/host/context} Setting Property ' source ' to ' org.eclipse.jst.jee.server : Ssm-cru ' did not ' find a matching property.
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: Server Version:apache tomcat/9.0.1
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Information: Server built:sep 17:31:52 UTC
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: Server number:9.0.1.0
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: OS name:windows 7
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: OS version:6.1
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Information: ARCHITECTURE:AMD64
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: Java home:d:\java\jre1.8
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: JVM VERSION:1.8.0_144-B01
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: JVM vendor:oracle Corporation
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Information: catalina_base:d:\ecllipseworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Information: catalina_home:d:\java\apache-tomcat-9.0.1
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: Command line argument:-dcatalina.base=d:\ecllipseworkspace\.metadata\.plugins\org.eclipse.wst.server.core\ Tmp0
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: Command line argument:-dcatalina.home=d:\java\apache-tomcat-9.0.1
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: Command line argument:-dwtp.deploy=d:\ecllipseworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\ Wtpwebapps
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: Command line argument:-djava.endorsed.dirs=d:\java\apache-tomcat-9.0.1\endorsed
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.VersionLoggerListener Log
Info: Command line argument:-DFILE.ENCODING=GBK
October 20, 2017 5:09:42 pm Org.apache.catalina.core.AprLifecycleListener lifecycleevent
Info: The APR based Apache Tomcat Native Library which allows optimal performance in production environments is not found O n the Java.library.path: [D:\Java\jre1.8\bin; C:\Windows\Sun\Java\bin; C:\Windows\system32; C:\windows;d:/java/jre1.8/bin/server;d:/java/jre1.8/bin;d:/java/jre1.8/lib/amd64;d:\app\admin\product\12.2.0\ Dbhome_1\bin; C:\ProgramData\Oracle\Java\javapath; C:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\System32\WindowsPowerShell\v1.0\; C:\Program Files (x86) \nvidia Corporation\physx\common;d:\java\jdk8\bin;d:\java\jdk8\jre\bin;d:\program Files\ Mysql\mysql Server5.7\bin;d:\server\maven\apache-maven-3.5.0\bin;d:\java\apache-tomcat-9.0.1\bin; C:\Users\xqz\Desktop;;.]
October 20, 2017 5:09:42 pm Org.apache.coyote.AbstractProtocol Init
Info: Initializing protocolhandler ["http-nio-8080"]
October 20, 2017 5:09:42 pm Org.apache.tomcat.util.net.NioSelectorPool getsharedselector
Info: Using A shared selector for servlet Write/read
October 20, 2017 5:09:42 pm Org.apache.coyote.AbstractProtocol Init
Info: Initializing protocolhandler ["ajp-nio-8009"]
October 20, 2017 5:09:42 pm Org.apache.tomcat.util.net.NioSelectorPool getsharedselector
Info: Using A shared selector for servlet Write/read
October 20, 2017 5:09:42 pm Org.apache.catalina.startup.Catalina Load
Info: Initialization processed in 755 ms
October 20, 2017 5:09:42 pm Org.apache.catalina.core.StandardService startinternal
Info: Starting service [Catalina]
October 20, 2017 5:09:42 pm Org.apache.catalina.core.StandardEngine startinternal
Info: Starting Servlet engine:apache tomcat/9.0.1
October 20, 2017 5:09:42 pm Org.apache.catalina.core.ContainerBase startinternal
Severity: 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 (Unknown Source)
At Java.util.concurrent.FutureTask.get (Unknown Source)
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 (Unknown Source)
At Org.apache.tomcat.util.threads.InlineExecutorService.execute (inlineexecutorservice.java:75)
At Java.util.concurrent.AbstractExecutorService.submit (Unknown Source)
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 (Unknown Source)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
At Java.lang.reflect.Method.invoke (Unknown Source)
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 (Unknown Source)
At Org.apache.tomcat.util.threads.InlineExecutorService.execute (inlineexecutorservice.java:75)
At Java.util.concurrent.AbstractExecutorService.submit (Unknown Source)
At Org.apache.catalina.core.ContainerBase.startInternal (containerbase.java:941)
... 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)
... 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 (Unknown Source)
At Java.util.zip.zipfile$zipfileinputstream.read (Unknown Source)
At Java.util.zip.zipfile$zipfileinflaterinputstream.fill (Unknown Source)
At Java.util.zip.InflaterInputStream.read (Unknown Source)
At sun.misc.IOUtils.readFully (Unknown Source)
At Java.util.jar.JarFile.getBytes (Unknown Source)
At Java.util.jar.JarFile.getManifestFromReference (Unknown Source)
At Java.util.jar.JarFile.getManifest (Unknown Source)
At Org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal ( abstractsinglearchiveresourceset.java:112)
... More

October 20, 2017 5:09:42 pm Org.apache.catalina.core.ContainerBase startinternal
Severity: 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 (Unknown Source)
At Java.util.concurrent.FutureTask.get (Unknown Source)
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 (Unknown Source)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
At Java.lang.reflect.Method.invoke (Unknown Source)
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 (Unknown Source)
At Org.apache.tomcat.util.threads.InlineExecutorService.execute (inlineexecutorservice.java:75)
At Java.util.concurrent.AbstractExecutorService.submit (Unknown Source)
At Org.apache.catalina.core.ContainerBase.startInternal (containerbase.java:941)
... More

October 20, 2017 5:09:42 pm Org.apache.catalina.startup.Catalina start
Critical: The required Server component failed to start so Tomcat was 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 (Unknown Source)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
At Java.lang.reflect.Method.invoke (Unknown Source)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:355)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:495)

October 20, 2017 5:09:42 pm Org.apache.coyote.AbstractProtocol Pause
Info: Pausing protocolhandler ["http-nio-8080"]
October 20, 2017 5:09:42 pm Org.apache.coyote.AbstractProtocol Pause
Info: Pausing protocolhandler ["ajp-nio-8009"]
October 20, 2017 5:09:42 pm Org.apache.catalina.core.StandardService stopinternal
Info: Stopping service [Catalina]
October 20, 2017 5:09:42 pm Org.apache.coyote.AbstractProtocol Destroy
Info: Destroying Protocolhandler ["http-nio-8080"]
October 20, 2017 5:09:42 pm Org.apache.coyote.AbstractProtocol Destroy
Info: Destroying Protocolhandler ["ajp-nio-8009"]

-------------------------------------I'm a gorgeous split-line----------------------------------------------------------------------

The above is my error message when I configured tomcat9.0 in eclipse to run the first project through Tomcat (torturing me for a day). I almost shopped all the related blogs online, post bar, the first to see the solution is to find D:\Java\apache-tomcat-9.0.1\conf\ Server.xml file, delete the inside of the duplicate context property (because the initial error after I terminated, and then added a server, may be caused by the project published on both sides, and then reported another mistake), I see, ah ~ There is really, so feel very happy, originally so simple ... Later proved that I think more, delete one after running and then one more, I am crazy delete, clean, restart service, once very collapsed (later think that then has been disorderly).
Then calm down to think about the error message and put out a careful analysis of the next one of the key error messages affixed to search for some answers, most of the jar package download has a problem, need to be maven directory of the jar package from the new download, I tried the next, sure enough. (in the face of problems can not square, one side of the mess, lost the most basic analysis and judgment, more difficult to find fault).














Configuring tomcat error issues under Eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.