Error message:
June 19, 2014 2:18:27 pm Org.apache.catalina.core.StandardContext Resourcesstart
Severe:error starting static Resources
Java.lang.IllegalArgumentException:Document base D:\web\tomcat\webapps\smpPlat does not exist or was not a readable direct Ory
At Org.apache.naming.resources.FileDirContext.setDocBase (filedircontext.java:136)
At Org.apache.catalina.core.StandardContext.resourcesStart (standardcontext.java:5089)
At Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5269)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
At Org.apache.catalina.core.containerbase$startchild.call (containerbase.java:1559)
At Org.apache.catalina.core.containerbase$startchild.call (containerbase.java:1549)
At Java.util.concurrent.futuretask$sync.innerrun (futuretask.java:334)
At Java.util.concurrent.FutureTask.run (futuretask.java:166)
At Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1110)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:603)
At Java.lang.Thread.run (thread.java:722)
June 19, 2014 2:18:27 pm org.apache.catalina.core.ContainerBase startinternal
Severe:a child container failed during start
java.util.concurrent.ExecutionException:org.apache.catalina.LifecycleException:Failed to start component [ Standardengine[catalina]. Standardhost[localhost]. Standardcontext[/smpplat]]
At Java.util.concurrent.futuretask$sync.innerget (futuretask.java:252)
At Java.util.concurrent.FutureTask.get (futuretask.java:111)
At Org.apache.catalina.core.ContainerBase.startInternal (containerbase.java:1123)
At Org.apache.catalina.core.StandardHost.startInternal (standardhost.java:799)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
At Org.apache.catalina.core.containerbase$startchild.call (containerbase.java:1559)
At Org.apache.catalina.core.containerbase$startchild.call (containerbase.java:1549)
At Java.util.concurrent.futuretask$sync.innerrun (futuretask.java:334)
At Java.util.concurrent.FutureTask.run (futuretask.java:166)
At Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1110)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:603)
At Java.lang.Thread.run (thread.java:722)
caused by:org.apache.catalina.LifecycleException:Failed to start component [Standardengine[catalina]. Standardhost[localhost]. Standardcontext[/smpplat]]
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:154)
... 7 more
caused by:org.apache.catalina.LifecycleException:Error in Resourcestart ()
At Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5270)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
... 7 more
June 19, 2014 2:18:27 pm org.apache.catalina.core.ContainerBase startinternal
Severe:a child container failed during start
java.util.concurrent.ExecutionException:org.apache.catalina.LifecycleException:Failed to start component [ Standardengine[catalina]. Standardhost[localhost]]
At Java.util.concurrent.futuretask$sync.innerget (futuretask.java:252)
At Java.util.concurrent.FutureTask.get (futuretask.java:111)
At Org.apache.catalina.core.ContainerBase.startInternal (containerbase.java:1123)
At Org.apache.catalina.core.StandardEngine.startInternal (standardengine.java:300)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
At Org.apache.catalina.core.StandardService.startInternal (standardservice.java:443)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
At Org.apache.catalina.core.StandardServer.startInternal (standardserver.java:731)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
At Org.apache.catalina.startup.Catalina.start (catalina.java:689)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:601)
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 [Standardengine[catalina]. Standardhost[localhost]]
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:154)
At Org.apache.catalina.core.containerbase$startchild.call (containerbase.java:1559)
At Org.apache.catalina.core.containerbase$startchild.call (containerbase.java:1549)
At Java.util.concurrent.futuretask$sync.innerrun (futuretask.java:334)
At Java.util.concurrent.FutureTask.run (futuretask.java:166)
At Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1110)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:603)
At Java.lang.Thread.run (thread.java:722)
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.StandardHost.startInternal (standardhost.java:799)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
... 7 more
June 19, 2014 2:18:27 pm Org.apache.catalina.startup.Catalina Start
Severe: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 (nativemethodaccessorimpl.java:57)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:601)
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:731)
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
The reason is that I removed the previous Smpplat project.
However, I removed the items in the WebApps, removed the files in the Work/catalina/localhost, and removed the conf/catalina/localhost configuration file Xxx.xml, which would also give an error.
I thought it was the other configuration file at the problem, the Conf under the files are read, and finally found in the Server.xml file at the end of the appearance of this article:
<context dobase= "original project directory"/>
It is obvious that there is an extra sentence. In the original configuration, <context/> does not exist.
I do not know why this sentence appears in this, after the deletion of this sentence, Tomcat can run normally.