Project could not add deployment to Tomcat 6.0, prompt for error: Tomcat version 6.0 only supports Java 1.2, 1.3, 1.4, and Java EE 5 Web Modules
0, if the determination of the Code does not use the JDK1.7 inside the unique things, change the configuration can be.
Not very sure there is no use, do not want to modify the configuration file, change Tomcat 7 department, with JDK1.7 Bar.
1, Selected Items-"right button, properties--" Project facets--"
Version of Dynamic Web module is changed to 2.5
Java version changed to 1.6.
or directly modify the file Org.eclipse.wst.common.project.facet.core.xml
/projectname/.settings/org.eclipse.wst.common.project.facet.core.xml
Jst.web changed from 3.0 to 2.5,
Java changed from 1.7 to 1.6,
Delete <runtime name= "Apache Tomcat v7.0"/>
<?xml version= "1.0" encoding= "UTF-8"?>
<faceted-project>
<fixed facet= "Java"/>
<fixed facet= "Jst.web"/>
<fixed facet= "Wst.jsdt.web"/>
<installed facet= "Jst.web" version= "2.5"/>
<installed facet= "Wst.jsdt.web" version= "1.0"/>
<installed facet= "java" version= "1.6"/>
</faceted-project>
2, Selected Items-"right", properties--"Java build path--" libraries, the Tomcat replaced by 6.0.
Displays the. settings/org.eclipse.wst.common.project.facet.core.xml file in Eclipse