Error:java: Compilation failed: internal java compiler error报错,java内部编译失败解决
点击 File-ProJect Structure 点击 File-Settings
maven项目中,也可在pom文件中指定jdk相关信息:
<plugin>
<artifactId>maven-compiler-plugin
</artifactId>
<version>3.3
</version>
<configuration>
<source>1.8
</source>
<target>1.8
</target>
<encoding>utf8
</encoding>
</configuration>
</plugin>