in the process of my code writing, this Maven error suddenly and inexplicably appeared,
Failed to read artifact descriptor for org.apache.hadoop:hadoop-common:jar:2.4.0
query the cause of the problem, the original version is not matched, just the problem.
so here’s the solution:
1.
After opening the project, there is a Maven projects on the right side of Intellij, click on it, there is a Lifecycle, click on it again, you can see clean , validate, compile, .... Right-click clean, select Run 'project[clean]', where the project is the actual name of our project.
2.
In the same place (Lifecycle) find the install, select Run 'project[install]', where the project is also the name of our specific project, this process is longer, if you have encountered which jar package can not be downloaded, you can manually put it into the local m2 directory.
3.
Finally, find the Maven projects and click on "Reimport All Maven Projects", this time the error "Failed to .... " Disappears, required dependencies start downloading.
Read More:
- mvn install Error: Failed to read artifact descriptor org.apache.maven.plugins:maven-install-plugin:jar:2
- Solve the error of POM file failed to read artifact descriptor for XXX under IntelliJ idea
- Failed to read artifact descriptor for com.google.errorprone:javac:jar:9+181-r4173-1
- Failed to read artifact descriptor for xxx:jar Missing
- “[warning] failed to retrieve plugin descriptor for caused by Maven security agent settings org.apache.maven . plugins:… “
- What to do when idea Maven package appears could not find artifact xxxxx!
- 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-compiler-plugin:3.7.0:compile
- device no response, device descriptor read/64, error -71
- Failed to execute goal in Maven build org.apache.tomcat .maven:
- Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign
- The jar package download of Maven project appears (could not transfer artifact. Org mybatis:mybatis )
- Maven failed to start component [standard engine [Tomcat] when using tomcat7 Maven plugin plug-in run
- [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
- Artifact xxx:war exploded: Error during artifact deployment. See server log for details.
- RocketMQ Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check…
- [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.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project
- Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on