Transferred from: http://jingwang0523.blog.163.com/blog/static/9090710320113294551497/
Recently in the project with Eclipse, the new project when everything is new, with the latest version, in the Dynamic Web Module version column selected the latest version 3.0, the project when the program was the error, on the Internet to see HTTP// Hi.baidu.com/yolanda441/b ... 41d36dd1164e2e.html This brother's blog, solve the problem, now put the method to this, hoping to help others:
Through search, found in Project's. Setting folder below, there is a file called Org.eclipse.wst.common.project.facet.core.xml, 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><Runtimename= "Apache Tomcat v5.5"/><fixedfacet= "Jst.web"/><fixedfacet= "Jst.java"/><installedfacet= "Jst.java"version= "5.0"/><installedfacet= "Jst.web"version= "2.4"/><installedfacet= "Wst.jsdt.web"version= "1.0"/></Faceted-project>
For bugs like me, you can download Tomcat 7. 0 solve, but I am busy trouble, 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