IDEA java:-source 1.5中不支持diamond运算符,请使用-source7或更高版本以启动diamond运算符

从github上下载项目下来报错,其本身的环境变量为1.5,可是我本地为1.8,Rebuild的时候编译报错,解决方法 IDEA中File==》Project Setting==》Modules 选择后点击Apply File 》 Settings 》 Build, Execution, Deployment》 Compiler》 Java Compiler 因为我本地JDK是1.8所以我就填了1
相关文章
相关标签/搜索