Problem: Syntax error, annotations are only available if source level is 5.0environment:JDK1.5.0windows 2003JBossIDE-1.5M1-jre15-win32.zip
Try this :Windows / Preferences / Java / Compiler / Compiler compliance level.Then set to 5.0Chris.