Ömer Faruk Kurt created NETBEANS-3611:
-----------------------------------------
Summary: No library found for namespace http://omnifaces.org/ui
Key: NETBEANS-3611
URL: https://issues.apache.org/jira/browse/NETBEANS-3611
Project: NetBeans
Issue Type: Bug
Affects Versions: 11.1, 11.2
Reporter: Ömer Faruk Kurt
Attachments: 47298773-eab3a100-d618-11e8-849e-627e6507ee97.png
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|https://github.com/omnifaces/omnifaces/issues/url]
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|https://github.com/omnifaces/omnifaces/issues/url]
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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists