When tomcat is started in Eclipse, the following error occurs: A child container failed during start, eclipsetomcat

Source: Internet
Author: User

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 ..

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.