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