Maven - Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default
程序员文章站
2024-02-20 19:18:46
...
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
</dependency>
<!--或者下面的-->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<fork>true</fork>
<executable>C:\Program Files\Java\jdk-14.0.2\bin\javac.exe</executable>
<source>1.8</source>
<target>1.8</target>
<compilerArgument>-XDignore.symbol.file</compilerArgument>
</configuration>
</plugin>
解决办法:更换当前jdk版本为项目所需jdk版本即可
上一篇: jsp七大动作指令 博客分类: java Javajsp
下一篇: set数据结构
推荐阅读
-
Maven - Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default
-
Faild to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile)
-
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on pr
-
Failed to execute goal org.apache.maven.plugins
-
Linux部署Java-Web,mvn package出现COMPILATION ERROR :Failed to execute goal org.apache.maven.plugins:mave
-
针对maven install 报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1 解决方案
-
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.
-
Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-reso
-
jetty启动项目报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugi
-
jetty启动项目报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugi