1. First of all, confirm whether the Maven and Maven Repository used by IDEA are the repositories you need. If not specified, IDEA will use its own Maven and repository. The FIile – & gt; Setting – & gt; Build, the Excution, Deployment – & gt; Maven View:
2, After switching to the correct Maven and warehouse, if the error is still reported, you can delete the error JAR, and then Reimport (the circular arrow icon in the following figure), let the project to reload the JAR package.
Read More:
- 解决Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- Maven package error reporting java.lang.stackoverflowerror solution
- [Solved] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
- Failed to execute goal org.apache.maven . plugins:maven-surefire-plugin :2.12.4:test
- How to Fix Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on pr
- Error resolving version for plugin ‘org.apache.maven.plugins:maven-compiler-plugin’ from the repo…
- “[warning] failed to retrieve plugin descriptor for caused by Maven security agent settings org.apache.maven . plugins:… “
- mvn install Error: Failed to read artifact descriptor org.apache.maven.plugins:maven-install-plugin:jar:2
- RocketMQ Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check…
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile)
- Failed to execute goal org.apache.maven . plugins:maven-clean-plugin :2.6.1:cle
- Cannot resolve plugin org.apache.maven.plugins:maven-jar-plugin:2.4
- Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (default) on project
- Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on
- Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test)
- About maven Pom.xml Personal solutions to reporting errors!!!
- Error in publishing project with Maven in idea. Git directory is not found! Please specify a valid
- Idea2020.2 encountered pom.xml The problem of file error report in Maven plug-in tomcat7