Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3611

No library found for namespace http://omnifaces.org/ui

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 11.1, 11.2
    • 19
    • javaee - JSF
    • None

    Description

      With OmniFace 3.2 you get an error message in a facelet
      No library found for namespace http://omnifaces.org/ui

      With NetBeans 8.2 en 9.0 you can only have the 8.2 JEE plugins.
      You can actually make JSF2.3 work but adding OmniFaces to a facelet then renders the error.

      I managed to get rid of the error by unpacking the omnifaces-3.2.jar to a directory and add that directory to the libraries of the project and remove the omnifaces-3.2.jar from the libraries.
      After that I changed the XML tag facelet-taglib to a signature as used in mojarra_ext.taglib.xml of javax.faces-2.3.7.jar the error is going away from the facelet.
      I saw a closed issue about a namespace not found in NetBeans 8.2 and I have the same problem.

      https://github.com/omnifaces/omnifaces/issues/442

      I think the NetBeans webproject is not able to see the new signature of the omnifaces-ui.taglib.xml version 2.3.
      The NetBeans IDE is making a transition to Apache and until Feb. 2019 there will not any renewal on the Jakarta EE plugins for NetBeans supporting JSF 2.3

      https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+Release+Roadmap

      So what I did was to uncheck the package checkbox of the changed directory in the library settings and in the web build/packaging to add the omnifaces-3.2.jar.
      Actually I think it is a NetBeans problem but until feb. 2019 no updates on Jakarta EE to expect from there.

      A picture of 2 projects, 1 with problem and the second with solved problem of the index.xhtml

      Attachments

        Activity

          People

            Unassigned Unassigned
            kurtomerfaruk@gmail.com Ömer Faruk Kurt
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: