Eclipse 3.5 and tomcat 404

Source: Internet
Author: User
From: http://blog.csdn.net/MPU/archive/2009/08/21/4469805.aspx

<Type = "text/JavaScript"> <Src = "http://pagead2.googlesyndication.com/pagead/show_ads.js" type = "text/JavaScript">

 

On February 21, an error occurred while downloading the latest eclipse and Tomcat running JSP. The Tomcat service cannot be started and is very depressed.

 

Error message:

Cocould not load the Tomcat server configuration at/servers/tomcat v6.0 server at localhost-config. The configuration may be too upt or incomplete.

 

 

2009-8-21 13:31:27 org. Apache. tomcat. util. digester. setpropertiesrule begin

Warning: [setpropertiesrule] {server/service/engine/host/context} setting property 'source' to 'org. eclipse. JST. j2EE. server: tmppj 'did not find a matching property.

 

After you create a dynamic web project using Tomcat 6.0.20 and eclipse,

Right-click the project and choose run as> run on server to start the Tomcat server.

 

Search for answers online. Some say you can change tomcat version to 6.0.14;

Also, when creating a dynamic web project, change the version number after the "dynamic web module" option from 2.5 to 2.4.

However, these answers do not seem to actually solve the problem.

You can only find a solution by yourself.

 

The cause of the setpropertiesrule warning is that Tomcat does not support the source attribute in the context node of server. xml.

<Context docbase = "..." Path = "/cont" Source = "org. Eclipse. JST. J2EE. SERVER: cont"/>

 

 

The solution is to select the "Publish module contexts to separate XML files" option on the server configuration page.

 

 

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.