We are using MyEclipse 10 to support JSF 2.0. The JSF version is currently set to 1.1 in Project Facets.
When trying to change it to 2.0, the error is displayed “Cannot change version of project facet JavaServer Faces to 2.0, with the information saying JSF 2.0 “Requires the following facet Dynamic Web Module 2.5 or newer”.
Then when trying to change the Dynamic Web Module from 2.4 to 2.5, the error is displayed: “Cannot change version of project facet Dynamic Web Module to 2.5”. Our Java level is 1.5, which should support Dynamic Web Module 2.5.
Please let us know how this problem can be corrected.
Can you please open the Navigator view (Window > Show View > Other > General) and find that there is a .settings folder under your project, expand it and then open the file “org.eclipse.wst.common.project.facet.core.xml”, make the below changes and save the file.
Change the dynamic web module version in this line to 2.5 – <installed facet=”jst.web” version=”2.4″/>
Change the JSF version in this line to 2.0 – <installed facet=”jst.jsf” version=”1.1″/>
Change the Java version in this line to 1.5 or higher – <installed facet=”java” version=”1.5″/>.