Set the Compliance level to 5.0 (Eclipse -> Window -> Preferences -> Java ->
Compiler -> Compiler compliance level
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252183#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...