While Adding/Removing the projects in
tomcat server from eclipse , I am getting issue as “ Tomcat
version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web
modules”. We are unable to add the project in server.
Its occuring since
mismatch of jst version.
Solution
In project, “.settings” folder, find this file “org.eclipse.wst.common.project.facet.core.xml“, change the version offacet="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>
Thanks... I resolved my issue.. now it starts successfully
ReplyDelete