IntellJ Idea遇到Errors occurred while compiling module的解决方法 - sully2008的专栏 - CSDN博客 https://blog.csdn.net/yougou_sully/article/details/78892352
File-Settings-Build,Execution,Deployment-Compliler-Java Complier的jdk版本是1.7
File-Project Structure下的Project和modules的编译环境是jdk1.7