Multiple markers at this line
- Syntax error, parameterized types are only available if source level is 1.5 or greater - Incorrect number of arguments for type HashMap<K,V>; it cannot be parameterized with arguments <>解决方法:
1,在eclipse中菜单Window----preferences----java-----compiler把右边中的Compiler compliance level改为1.6
2,右击项目,修改properties,找到java compiler修改compiler compliance level为1.6