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 7.4 (Build 201310111528) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01 NetBeans wont let me use annotations for a new JSF Managed Bean for an Oracle Java Cloud web application project. It forces me create a faces-config.xml file and use the XML way. Oracle Java Cloud support JSF 2.0, so annotations should work. Also I think this worked fine with NetBeans 7.3 / the earlier version of the Oracle Cloud Plugin. I could earlier create Managed Beans with annotations. Now even for the old projects, I get a compilation error for my ManagedBean saying "javax.faces.bean.ManagedBean" is not an annotation type.Also expanding the Oracle Cloud Remote library shows that the requisite JAR is missing. This looks like an addition either with the new NetBeans or the new Oracle Cloud Plugin. Please check. Thanks
Uninstalled NetBeans including all settings and then reinstalled both NetBeans and the Oracle Cloud plugin. No longer facing this issue. Can now see the requisite classes when I expand the Oracle Cloud library in the project.
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