Intellij中出现:Diamond types are not supported at this language level
1.解决办法
-
File->project->Modules->Source->Language Leve->8-Lambda,type annotation etc.
-
File->project->Project中->project Language Level->8-Lambda,type annotation etc.
-
Settings->Build,execution,Deployment->Compiler->Java Compiler


浙公网安备 33010602011771号