How eclipse modifies 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.
How eclipse modifies Dynamic Web module version