tomcat startup error

1 . org.apache.catalina.core.StandardContext resourcesStart

2. Deploying configuration descriptor manager.xml

3. Critical: Error starting static Resources 
java.lang.IllegalArgumentException: Document base D:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\host-manager does not exist or is not a readable directory 

and 

critical: Error starting static Resources 
java.lang.IllegalArgumentException: Document base D:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\manager does not exist or is not a readable directory 

error; 

this is because there are two xml files in conf\Catalina\localhost host-manager.xml, manager.xml, delete them and there is no problem in starting Tomcat. 
Or files such as host-manager.xml and manager.xml may also exist in other folders in Catalina, just delete them all. 


This problem will also occur after the projects we created ourselves are deleted 

. Delete the corresponding configuration file of conf\Catalina\localhost, and delete the related configuration in server.xml and context.xml under conf. 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325340631&siteId=291194637