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