问题: Syntax error, parameterized types are only available if source level is 1.5
change project compliance and jre to 1.5
编译级别问题
1.在eclipse中菜单Window----preferences----java-----compiler把右边中的Compiler compliance level改为1.6
2.就右击项目,修改properties,找到java compiler修改compiler compliance level为1.6