There was an error in the Tomcat deployment project Java.lang.illegalstateexception:containerbase.addchild:start:o Rg.apache.catalina.LifecycleException:Failed to start Component[standardengine[catalina]. Standardhost[localhost]. standardcontext[/project Name]]
A very simple project without a compile error, starting with the Tomcat v7.0 server in eclipse the following error appears to be not an issue with the project itself (such as because the library is not imported).
June 10, 2015 2:02:50 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:Failed to start component [standardserver[8005]
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:154)
At Org.apache.catalina.startup.Catalina.start (catalina.java:689)
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:321)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:455)
caused by:org.apache.catalina.LifecycleException:Failed to start component [Standardservice[catalina]
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:154)
At Org.apache.catalina.core.StandardServer.startInternal (standardserver.java:739)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
... 7 more
caused by:org.apache.catalina.LifecycleException:Failed to start component [Standardengine[catalina]
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:154)
At Org.apache.catalina.core.StandardService.startInternal (standardservice.java:443)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
... 9 more
caused By:org.apache.catalina.lifecycleexception:a child container failed during start
At Org.apache.catalina.core.ContainerBase.startInternal (containerbase.java:1131)
At Org.apache.catalina.core.StandardEngine.startInternal (standardengine.java:300)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
... One more
June 10, 2015 2:02:50 pm Org.apache.coyote.AbstractProtocol Pause
Info: Pausing protocolhandler ["http-bio-8080"]
June 10, 2015 2:02:50 pm Org.apache.coyote.AbstractProtocol Pause
Info: Pausing protocolhandler ["ajp-bio-8009"]
June 10, 2015 2:02:50 pm Org.apache.catalina.core.StandardService stopinternal
Information: Stopping service Catalina
June 10, 2015 2:02:50 pm Org.apache.coyote.AbstractProtocol Destroy
Info: Destroying Protocolhandler ["http-bio-8080"]
June 10, 2015 2:02:50 pm Org.apache.coyote.AbstractProtocol Destroy
Info: Destroying Protocolhandler ["ajp-bio-8009"]
Deploy the project to the Tomcat directory and start with the command line to report the following error.
So it is certain that the Tomcat container is in the problem of loading our servlet, so focus on checking the Web. xml file for problems: whether the servlet is defined or not, the mapping mappings are defined correctly .... Finally, the source of the problem is that Servlet-name up and down no correspondence
There was an error in the Tomcat deployment project Java.lang.IllegalStateException:ContainerBase.addChild:start:org.apache.catalina.Life