Eclipse starts Tomcat error resolution

Source: Internet
Author: User

Tags: SSE figure plugin Create Source Library control run Mat

Clipse start Tomcat to report the following error message:

Console:

September 06, 2018 9:01:31pm Org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [Setpropertiesrule]{server/service/engine/host/context} Setting ' source ' to ' org.eclipse.jst.jee.server:servlet 'Did not find a matching property. September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log information: Server version:apache Tomcat/9.0.10September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log information: Server Built:jun20 2018 17:32:21UTC September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log information: Server number:9.0.10.0September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log info: OS name:linux September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log information: OS Version:4.15.0-33-Generic September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log info: architecture:amd64 September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log Info: Java Home:/usr/lib/jvm/java-8-openjdk-amd64/JRE September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log information: JVM Version:1.8.0_181-8u181-b13-0ubuntu0.16.04.1-B13 September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log information: JVM vendor:oracle Corporation September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log Info: catalina_base:/home/dss/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0 September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log Info: catalina_home:/usr/local/Tomcat9 September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log message: Command line argument:-dcatalina.base=/home/dss/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0 September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log message: Command line argument:-dcatalina.home=/usr/local/Tomcat9 September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log message: Command line argument:-dwtp.deploy=/home/dss/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/Wtpwebapps September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log message: Command line argument:-djava.endorsed.dirs=/usr/local/tomcat9/endorsed September06, 2018 9:01:31pm Org.apache.catalina.startup.VersionLoggerListener Log message: Command line argument:-dfile.encoding=utf-8September06, 2018 9:01:31pm Org.apache.catalina.core.AprLifecycleListener lifecycleevent Info: The APR based Apache Tomcat Native Library which a Llows optimal performance in production environments is not found on the Java.library.path: [/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/ usr/lib/jni:/lib:/usr/Lib] September06, 2018 9:01:32pm Org.apache.coyote.AbstractProtocol init info: Initializing Protocolhandler ["Http-nio-8080"] September06, 2018 9:01:32pm Org.apache.tomcat.util.net.NioSelectorPool getsharedselector Info: Using a shared selector forServlet write/Read September06, 2018 9:01:32pm Org.apache.coyote.AbstractProtocol init info: Initializing Protocolhandler ["Ajp-nio-8009"] September06, 2018 9:01:32pm Org.apache.tomcat.util.net.NioSelectorPool getsharedselector Info: Using a shared selector forServlet write/Read September06, 2018 9:01:32pm Org.apache.catalina.startup.Catalina Load Info: initialization processed in736Ms September06, 2018 9:01:32pm Org.apache.catalina.core.StandardService startinternal Info: Starting service [Catalina] September06, 2018 9:01:32afternoon Org.apache.catalina.core.StandardEngine startinternal info: Starting Servlet engine:apache Tomcat/9.0.10September06, 2018 9:01:34pm Org.apache.jasper.servlet.TldScanner scanjars Info: At least one JAR is scanned forTLDs yet contained no TLDs. Enable Debug Logging for  ThisLogger fora complete list of JARs that were scanned and no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. September06, 2018 9:01:36afternoon Org.apache.catalina.core.ContainerBase startinternal Grave: A child container failed during startjava.util.concurrent.ExecutionException:org.apache.catalina.LifecycleException:Failed to start component [ Standardengine[catalina]. Standardhost[localhost]. standardcontext[/Servlet]] 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:949) 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:1427) at Org.apache.catalina.core.containerbase$startchild.call (Containerbase.java:1417) 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:943) 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:38W) 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:Failed to start component [Standardengine[catalina]. Standardhost[localhost]. standardcontext[/Servlet]] At Org.apache.catalina.util.LifecycleBase.handleSubClassException (Lifecyclebase.java:441) at Org.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java:198) at Org.apache.catalina.core.containerbase$startchild.call (Containerbase.java:1427) at Org.apache.catalina.core.containerbase$startchild.call (Containerbase.java:1417) 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:943)    ... 21stmorecaused By:java.lang.IllegalArgumentException:Servlet Mapping specifies an unknown Servlet name [HTTP1] at or G.apache.catalina.core.standardcontext.addservletmappingdecoded (Standardcontext.java:3132) at org.apache.catalina.Context.addServletMappingDecoded (Context.java:879) at Org.apache.catalina.startup.ContextConfig.configureContext (Contextconfig.java:1376) at Org.apache.catalina.startup.ContextConfig.webConfig (Contextconfig.java:1187) at Org.apache.catalina.startup.ContextConfig.configureStart (Contextconfig.java:765) at Org.apache.catalina.startup.ContextConfig.lifecycleEvent (Contextconfig.java:299) at Org.apache.catalina.util.LifecycleBase.fireLifecycleEvent (Lifecyclebase.java:123) at Org.apache.catalina.core.StandardContext.startInternal (Standardcontext.java:5007) at Org.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java:183)    ... 27More September06, 2018 9:01:36afternoon Org.apache.catalina.core.ContainerBase startinternal Grave: A child container failed during Startjava.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:949) 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:682) 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:a child container failed during start at org.apache.catalina.co Re. Containerbase.startinternal (Containerbase.java:958) 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:1427) at Org.apache.catalina.core.containerbase$startchild.call (Containerbase.java:1417) 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:943)    ... 13More September06, 2018 9:01:36pm Org.apache.catalina.startup.Catalina Start Critical: The required Server component failed to start so Tomcat are unable to Start.org.apache.catalina.lifecycleexception:a child container failed during start at Org.apache.catalina.core.Contai Nerbase.startinternal (Containerbase.java:958) 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:38W) 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) September06, 2018 9:01:36pm Org.apache.coyote.AbstractProtocol Pause Info: pausing Protocolhandler ["Http-nio-8080"] September06, 2018 9:01:36pm Org.apache.coyote.AbstractProtocol Pause Info: pausing Protocolhandler ["Ajp-nio-8009"] September06, 2018 9:01:36pm Org.apache.catalina.core.StandardService stopinternal Info: Stopping service [Catalina] September06, 2018 9:01:36pm Org.apache.coyote.AbstractProtocol Destroy info: destroying Protocolhandler ["Http-nio-8080"] September06, 2018 9:01:36pm Org.apache.coyote.AbstractProtocol Destroy info: destroying Protocolhandler ["Ajp-nio-8009"]

The reason for this is that there is a lack of jar packages or some jar package conflicts, or it may be that the Web. XML is not configured correctly.

There is no way, I re-created a project. The same operation turned out. Tomcat was successfully opened.

Again open the original wrong item, finally found the reason, all is careless caused by oneself.

It turns out that my web. XML has one more space in some servlet-name ... And then it's always the same error!

Eclipse starts Tomcat error resolution

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.

Tags Index: