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 - @ManagedBean annotation problem - "annotations are not supported in -source 1.3"
Summary: @ManagedBean annotation problem - "annotations are not supported in -source 1.3"
Status: RESOLVED DUPLICATE of bug 214131
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-13 16:37 UTC by Vladimir Riha
Modified: 2012-06-13 16:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***