tomcat startup.bat when suddenly reported the error.
Caused by: java.lang.IllegalArgumentException: 指定的主资源集 [E:\myhtml] 无效
at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:749)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:706)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
... 41 more
Error, summed up the reason is; just do not accidentally delete the main set of resources [E: \ myhtml], to delete this file, and that file is before the Zuosha Zi with it.
This file is used to make the original configuration tomcat project deployment.
1, the first method of deployment projects (project directly into the webapps directory)
2, the second method deployment project (modify conf / server.xml file)
3. The third method (apache-tomcat-7.0.52 \ conf \ Catalina \ localhost) deployment project
By xml file server.xml under investigation and Catalina \ localhost, files can be found in the files have such a configuration. : <Context docBase = "E: \ myhtml" />
Solution it easier to handle in question will be prompted to create a new folder or deployment project configuration to be deleted.