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.

Bug 214146

Summary: @ManagedBean annotation problem - "annotations are not supported in -source 1.3"
Product: javaee Reporter: Vladimir Riha <vriha>
Component: JSFAssignee: Martin Fousek <marfous>
Status: RESOLVED DUPLICATE    
Severity: normal CC: vriha
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2012-06-13 16:37:56 UTC
To reproduce:
- create a new Java Web project with JSF framework, GlassFish 3.1.2 & Java EE 6 Web
- create a new JSF managed bean
=> @ManagedBean markded as invalid with msg "annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations)"


This seems to be pretty recent. Build from about 10-12  June worked fine. Happens on Linux (Ubuntu 11.10) as well


Product Version: NetBeans IDE Dev (Build 201206130001)
Java: 1.7.0_05; Java HotSpot(TM) 64-Bit Server VM 23.1-b03
System: Mac OS X version 10.7.4 running on x86_64; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2012-06-13 16:47:56 UTC
probably a duplicate of (or caused by) #214131

*** This bug has been marked as a duplicate of bug 214131 ***