facebook

Missing javax.faces:jsf-api:jar:1.2_04

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #296306 Reply

    mangelo123
    Participant

    I am trying out Maven with an IceFaces project. I get the error Missing javax.faces:jsf-api:jar:1.2_04 before I even get to the point of adding Faces support. I tried to move forward by adding Faces and then IceFaces support, but nothing happens. The Faces and IceFaces menu options are still available after I try to add under the MyEclipse context menu.

    I am trying this with ME 6.6 because 7.1 would not install.

    Please advise.

    #296354 Reply

    Loyal Water
    Member

    mangelo123,
    We were unable to reproduce this issue at our end. Can you please list down the steps to help us reproduce this at our end.

    Also, please go to MyEclipse > Installation Summary > Installation Details and paste them here for me so that we can test this with the same configuration.

    #296841 Reply

    bdepaola
    Member

    I see the same issue in my environment.
    Version: 7.1.1
    Build id: 7.1.1-20090310

    Creating a standard web project with Maven support.
    File -> New -> Web Project….

    Once the project builds the pom.xml displays the following error messages:
    Multiple annotations found at this line:
    – Missing artifact: javax.faces:jsf-impl:jar:1.2_04:provided
    – Missing artifact: javax.faces:jsf-api:jar:1.2_04:provided

    I have tried using 1.6 jre and jdk, updated the Maven JDK settings, delete/regen my local .m2 repository, delete/regen web project. No luck.

    #296843 Reply

    bdepaola
    Member

    Here is the console log output:
    3/26/09 2:57:10 PM PDT: Error on removing indexing context local; Cannot delete E:\Workspaces\MyEclipse 7.1\.metadata\.plugins\org.maven.ide.eclipse\nexus\local\_0.fdt
    3/26/09 2:57:10 PM PDT: Error on adding indexing context local; Cannot overwrite: E:\Workspaces\MyEclipse 7.1\.metadata\.plugins\org.maven.ide.eclipse\nexus\local\_0.fdt
    3/26/09 2:57:10 PM PDT: Updated local repository index
    3/26/09 2:57:11 PM PDT: [INFO] User settings file does not exist C:\Documents and Settings\Bryan DePaola\.m2\settings.xml
    3/26/09 2:57:12 PM PDT: Missing artifact javax.faces:jsf-api:jar:1.2_04:provided
    3/26/09 2:57:12 PM PDT: Missing artifact javax.faces:jsf-impl:jar:1.2_04:provided

    #296900 Reply

    Can you check the contents of you local repository to see if it contains dependencies like javax.activation?

    #296914 Reply

    bdepaola
    Member

    Thank you for the quick response. In the interim I decided to do a clean install, removed all myeclipse references and the local maven repository. I created a new basic web project (with Maven support) and my issue seems to be resolved (I think). My new local maven repository has a number of new jar files installed that the previous repository didn’t.

    #296916 Reply

    Thank you. We’ll be keeping an eye on these issue and hopefully will fix it in the next releases.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Missing javax.faces:jsf-api:jar:1.2_04

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