错误报的异常:
Error:java:Compilation failed:internal java compliler error
控制台显示如下:
修改项目jdk
File
→ Project Structure
→ Project Settings
→ Project
修改工程jdk
File
→ Project Structure
→ Project Settings
→ Module
修改idea中Java配置
FIle
→ Setting ...
→ Build Execution Deployment
→Compiler
→Java Compiler
这里修改为jdk8