问题
使用idea编译maven项目时报错
解决办法
1.点击File->Setting->Build, Execution, Deployment-> Compiler->Java Compiler
将上图中圈起的地方改成8版本即可
2. 点击File -> Settings -> Build, Execution, Deployment -> Build Tools -> Maven -> Runner
改成自己装的版本即可
3.快捷键ctr+shfit+alt+s
使用idea编译maven项目时报错
1.点击File->Setting->Build, Execution, Deployment-> Compiler->Java Compiler
将上图中圈起的地方改成8版本即可
2. 点击File -> Settings -> Build, Execution, Deployment -> Build Tools -> Maven -> Runner
改成自己装的版本即可
3.快捷键ctr+shfit+alt+s