IntellJ Idea遇到Errors occurred while compiling module的解决方法

1.先看Idea的菜单 File-Settings-Build,Execution,Deployment-Compliler-Java Complier的jdk版本是1.8IntellJ Idea遇到Errors occurred while compiling module的解决方法
2.再看下菜单File-Project Structure下的Project和modules的编译环境是jdk1.8
IntellJ Idea遇到Errors occurred while compiling module的解决方法
检查一致后重新打包即可。