在使用泛型的地方报如下错误:
Multiple markers at this line - Syntax error, parameterized types are only available if source level is 5.0 - The type List is not generic; it cannot be parameterized with arguments
1
解决办法:
窗口-》首选项-》java-》编译器-》编译器的一致性级别改成5.0要么改工程的选项,基本一样的步骤
阅读(481) | 评论(0) | 转发(0) |