【Java】IDEA mavenパッケージが表示されます:No compiler is provided in this environment.
2258 ワード
mavenパッケージを使用している間にこのエラーに遭遇しました:No compiler is provided in this environment.Perhaps you are running on a JRE rather than a JDK?
解決策:pom.xmlのbuild----pluginsに追加
解決策:pom.xmlのbuild----pluginsに追加
<plugin>
<groupId>org.apache.maven.pluginsgroupId>
<artifactId>maven-compiler-pluginartifactId>
<configuration>
<fork>truefork>
<executable>
D:\Program Files\Java\jdk1.8.0_162\bin\javac.exe
executable>
configuration>
plugin>