Netbeans springside 3.0.3 "annotations are not supported in -source 1.4"

right click project -> property -> source -> source/binary format -> choose JDK 5 instead of JDK 1.4

最好的办法是在新建项目时,在下拉框选择J2EE 1.4后,不要根据NetBeans提示的勾选set source same as JDK,这样会自动将Source设置为JDK 5而不是JDK 1.4.

你可能感兴趣的:(Netbeans springside 3.0.3 "annotations are not supported in -source 1.4")