Eclipse Run on Server exception: Could not load the Tomcat Server configuration at Servers\tomcat V5.0 Sertomcat

Source: Internet
Author: User
Tags tomcat server

Eclipse run on Server exception: Could not load the Tomcat Server configuration at Servers\tomcat V5.0 Sertomcat Unable to run Servce problem Solve

When you run the project in Eclipse,

Could not load the TOMCAT server configuration at \servers\tomcat v5.5 Server at Localhost-config. The configuration may be corrupt or incomplete.

File not Found:e:\eclipse\bjca\servers\tomcat v5.5 Server at Localhost-config\web.xml

Solutions on the Web:

    1. http://blog.csdn.net/huangxi_love/article/details/7350733

In fact, the main problem is the path. Because before I loaded the TOMCAT6 version the default home directory name is apache-tomcat-6.0.16, and in Eclipse as the project's server. Then he was removed and a new version of TOMCAT6 was installed. The default directory for this version is Tomcat 6.0. Eclipse needs to read the Conf\catalina.policy file when it publishes the project to the Tomcat server in Eclipse. The main directory name has changed, and Catalina.policy files are of course not found.

The workaround is to delete the original server, add a server, set the server runtime, the Tomcat installation directory is set!

2.http://blog.sina.com.cn/s/blog_56296e3f0100ngt2.html

3. However, it seems that there is no use, or error, I was wrong at the same time, the program about the HttpServlet class, methods, all appear red underline (error, can not find the class);

Later, the method of self-solution is as follows:

3.1 Click the toolbar Windows--->preference----->server----->runtime environments To see if there are tomcat on the right, as follows:

3.2 Run again, if you are wrong, right-click the project name------->properties-------->java Build Path

The last step, do not forget!!!

3.3 If the above 2 have also reported error, then check 2 tomcat path is the same, if not resolved, delete the original tomcat, reload again, step with 3.1, 3.2 like



From for notes (Wiz)



Eclipse Run on Server exception: Could not load the Tomcat Server configuration at Servers\tomcat V5.0 Sertomcat

Related Article

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.