This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.0 (Build 201403101706) Operating System = Windows 8 version 6.2 running on amd64 Java; VM; Vendor = 1.7.0_51 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03
Created attachment 148451 [details] IDE log
Netbeans is not recognizing JSF composite components on .xhtml files after last update. Getting annoying error "No library found for namespace http://java.sun.com/jsf/composite/components".
Sorry it works well to me under common circumstances in NB8.0. Please could you specify closer your projects setup (maven/ant? web project?). Couldn't you attach sample project where it doesn't work to you or steps when it stops working? Thanks.
(In reply to Martin Fousek from comment #3) > Sorry it works well to me under common circumstances in NB8.0. Please could > you specify closer your projects setup (maven/ant? web project?). Couldn't > you attach sample project where it doesn't work to you or steps when it > stops working? > > Thanks. Okay here: I have a maven web project and I'm using JSF RI 1.0.0.0_2-0-2 for Weblogic 10.0.0. After the IDE asked me for an update on 7.4 (and I updated it) I couldn't use it anymore so I downloaded 8.0 and updated it, and I'm having the same issue. I've tried creating a new maven web project and adding JavaServer Faces Framework and the server Library 1.0.0.0_2-0-2. When I tried to refactor a selection on an .xhtml file to a new composite component, There's an error notice on the bottom of the "Insert Component" window that says "Not JSF 2.0" (even though it is, kind of) that won't let me continue. Everything worked ok before the update. Also on my original project I have three WebPages folders after the update, not sure why... - Web Pages (WEB-INF) - Web Pages (resources) - Web Pages
Thanks for additional steps, now I'm able to reproduce your issue. I'm going to take a look on that whether we could fix that into the patch.
Hmm, there doesn't seem to be quick fix which we could include into the ongoing patch release, sorry. I'm targeting this issue to the next release. In the meantime, as a workaround, you can include this dependency to your pom.xml which will resolve your troubles now: <dependency> <groupId>com.sun.faces</groupId> <artifactId>jsf-api</artifactId> <version>2.2.7</version> </dependency>
Thanks a lot! Where can I see upcoming release dates and versions?
(In reply to rapito from comment #7) > Thanks a lot! > Where can I see upcoming release dates and versions? Here are dates for NB801 which is too soon for fixing this: http://wiki.netbeans.org/NetBeans_801 AFAIK, further plan doesn't exist yet - you can check wiki.netbeans.org wikis.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss