Tomcat version 6.0 only supports EE 1.2, 1.3, 1.4, and Java EE 5 Web Modules

Source: Internet
Author: User
Tags apache tomcat

recently, when playing with Eclipse, new projects are all greedy new, with the latest version, in the Dynamic Web Module version column selected the latest version 3.0, the project was the time when the error occurred, the Internet to see other netizensblog, solve the problem, the method is now posted here, hoping to help others:

With search, you find a file named Org.eclipse.wst.common.project.facet.core.xml in the. Setting folder under Project, which is configured with various version information. At this point, the problem is solved by modifying the file according to the native configuration.

<?xml version= "1.0" encoding= "UTF-8"?>
<faceted-project>
<runtime name= "Apache Tomcat v5.5"/>
<fixed facet= "Jst.web"/>
<fixed facet= "Jst.java"/>
<installed facet= "Jst.java" version= "5.0"/>
<installed facet= "Jst.web" version= "2.4"/>
<installed facet= "Wst.jsdt.web" version= "1.0"/>
</faceted-project>
"

for bugs like me, you can download Tomcat 7. 0 solve, but I am too troublesome, simply in the configuration file <installed facet= "Jst.web" version= "3.0"/> To lower version version= "2.5" just fine

Tomcat version 6.0 only supports EE 1.2, 1.3, 1.4, and Java EE 5 Web Modules

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.