I am trying to add JSF 1.2 capabilities to my project but am only being prompted for JSF 1.1.
The project is pretty much empty at the present and I am in the process of setting it up as a JSF 1.2 project.
My environment is as follows:
Eclipse 3.2.1
MyEclipse 5.1.0
Tomcat 6.0.2
JDK1.5.0_06
Web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
</web-app>
Buildpath:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="com.genuitec.eclipse.j2eedt.core.J2EE14_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jstl.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/standard.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/servlet-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/jasper.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/jsp-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/el-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/annotations-api.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activation.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/castor-0.9.7-xml.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate3.2.0.cr4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jsf-api1.2_02.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jsf-impl1.2_02.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jta.jar"/>
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
</classpath>
When I attempt to add JSF Capabilities, I am only prompted for JSF 1.1.01, and not JSF 1.2. Also on the dialog, it lists Servlet Specification 2.4, yet I am using Tomcat 6 which includes Servlet 2.5.
If there is not enough info here, please let me know and I will provide more.
Thanks in advance,
Michael.
p.s. I have treble checked that servlet-api.jar is the one from Tomcat6.