Tomcat start error: java.lang.IllegalArgumentException:Document base D:\apache-tomcat-6.0.45\webapps\activiti-explorer Does not exist or was not a readable directory

Source: Internet
Author: User

Java.lang.IllegalArgumentException:Document base D:\apache-tomcat-6.0.45\webapps\erp does not exist or was not a readable Directory
At Org.apache.naming.resources.FileDirContext.setDocBase (filedircontext.java:142)
At Org.apache.catalina.core.StandardContext.resourcesStart (standardcontext.java:4350)
At Org.apache.catalina.core.StandardContext.start (standardcontext.java:4523)
At Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:803)
At Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:780)
At Org.apache.catalina.core.StandardHost.addChild (standardhost.java:583)
At Org.apache.catalina.startup.HostConfig.deployDescriptor (hostconfig.java:676)
At Org.apache.catalina.startup.HostConfig.deployDescriptors (hostconfig.java:602)
At Org.apache.catalina.startup.HostConfig.deployApps (hostconfig.java:503)
At Org.apache.catalina.startup.HostConfig.start (hostconfig.java:1322)
At Org.apache.catalina.startup.HostConfig.lifecycleEvent (hostconfig.java:325)
At Org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (lifecyclesupport.java:142)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1069)
At Org.apache.catalina.core.StandardHost.start (standardhost.java:822)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1061)
At Org.apache.catalina.core.StandardEngine.start (standardengine.java:463)
at Org.apache.catalina.core.StandardService.start (standardservice.java:525)
Span style= "White-space:pre" >at Org.apache.catalina.core.StandardServer.start (standardserver.java:759)
at Org.apache.catalina.startup.Catalina.start (catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
at Sun.reflect.DelegatingMethodAccessorImpl.invoke ( delegatingmethodaccessorimpl.java:25)
at Java.lang.reflect.Method.invoke ( method.java:597)
at Org.apache.catalina.startup.Bootstrap.start ( bootstrap.java:289)

At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:414)

Because the erp.xml of Jndi was generated under Conf\catalina\localhost when the previous project was deployed , the file can be deleted. If you are generating a different XML file,

Remove it to resolve the

Tomcat start error: java.lang.IllegalArgumentException:Document base D:\apache-tomcat-6.0.45\webapps\activiti-explorer Does not exist or was not a readable directory

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.