Wednesday, 9 October 2013

Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules

I had this problem when I was adding my new server(Tomcat 6), While I was configured an old server (Tomcat 7) for the same project





Solving this problem is so easy:



  • In project, “.settings” folder, find this file “org.eclipse.wst.common.project.facet.core.xml“, change the version of facet="jst.web" to 2.4 or 2.5.


  • File : org.eclipse.wst.common.project.facet.core.xml

<?xml version="1.0" encoding="UTF-8"?>
     <faceted-project>
         <installed facet="java" version="1.6"/>
         <installed facet="jst.web" version="2.5"/>
         <installed facet="wst.jsdt.web" version="1.0"/>
      </faceted-project>



No comments:

Post a Comment