When tomcat is started in Eclipse, the following error occurs: A child container failed during start, eclipsetomcat
I really collapsed. First, the workspace collapsed. after a long time of reconstruction, the workspace was created and a small demo project was created. An error was reported when tomcat was started, select the following two important items:
A child container failed during start severe: Error starting static Resourcesjava. lang. illegalArgumentException: Document base D: \ your sereal \ realworkspace \. metadata \. plugins \ org. eclipse. wst. server. core \ tmp0 \ wtpwebapps \ xxx does not exist or is not a readable directory
What is this? It's a wonderful thing .. the xxx project deployed in tomcat has been deleted long ago. How to load it when it is started? First, go to wtpwebapps \ To find the tomcat server. check whether the configuration of this project exists in the xml file and find it clean. Then, the configuration in local tomcat is also like this .. this is a bit strange .. how can I find the project loaded .. then I suddenly remembered one thing. When I created the tomcat service in eclipse, a server folder will be created under workspace. Some tomcat configurations will be shown below .. this reminds me that when the workspace is rebuilt, the meta folder is deleted and the project is introduced again. The server in the workspace is not introduced, nor is it displayed in the workspace in eclipse, however, when tomcat is started, it is loaded again ..
It's easy to find the root cause. Go to the workspace and find the server under the server folder. xml, delete the startup project of the xxx project, and start tomcat again ..