Error:java: Compilation failed: internal java compiler error报错 java内部编译失败解决办法

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>

猜你喜欢

转载自blog.csdn.net/weixin_46122692/article/details/109181824