Error:java: Compilation failed: internal java compiler error

IntelliJ IDEA 编译报错:Error:java: Compilation failed: internal java compiler error 

Information:Using javac 1.8.0_66 to compile java sources

Information:java: javacTask: 源发行版 1.8 需要目标发行版 1.8

Information:java: Errors occurred while compiling module 'xxxxx'

Error:java: Compilation failed: internal java compiler error

错误截图如下:

 

File ---> setting ---> Java compiler ,都改成你需要的JDK版本。

 

posted @ 2018-01-23 16:27  生根  阅读(195)  评论(0编辑  收藏  举报