facebook

Change version of project facet Dynamic Web Module to 2.5

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #337016 Reply

    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.

    #337035 Reply

    ymay,

    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″/>.

    Let us know how this works for you.

    #337053 Reply

    Pradeep:
    Thanks a lot for your help!
    Yvonne

    #337098 Reply

    Yvonne,

    Let us know if you see any issues.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Change version of project facet Dynamic Web Module to 2.5

You must be logged in to post in the forum log in