How eclipse modifies the Dynamic Web module Version;--eclipse operation Memo

Source: Internet
Author: User
Tags apache tomcat

1.eclipse How to modify Dynamic Web module version

First, modify the project properties:

Right-click Eclipse Project, select Properties, select Dynamic Web Module inside project Facets, change 3.0 to 2.5, and you may be prompted with the following information:
Cannot change version of project Facets Dynamic Web Module to 2.5

This means that you cannot modify it and then use the second method.

Second, modify the configuration file:
Locate the project's hard disk directory, and open the. Setting folder under Projects, such as:

Locate the org.eclipse.wst.common.project.facet.core.xml file in the. setting folder , and the file format is as follows:

<?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.5"/>
<installed facet= "Wst.jsdt.web" version= "1.0"/>
</faceted-project>

Manually modify the version of the Jst.web directly. finally restart the TOMCATX can be used normally.

Reference forwarding: http://www.cnblogs.com/yezhenhan/archive/2011/10/17/2215279.html

2.Java compiler level does not match the version of the installed Java project
Description Resource Path Location Type
Java compiler level does not match the version of the installed Java project facet. Spring-ajax-demo-jar Unknown faceted Project problem (Java Version mismatch)

Solution:

Right-click the project "Properties" on the left side of the "Properties" window that pops up, clicking "Project Facets" to open the "Project Facets" page.

In the "Java" drop-down list on the page, select the appropriate version to be OK.

How eclipse modifies the Dynamic Web module Version;--eclipse operation Memo

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.