This article is a mirror article of machine translation, please click here to jump to the original article.

View: 21105|Reply: 0

[Solved] idea Failed to read artifact descriptor for XXX

[Copy link]
Posted on 2/22/2019 4:48:02 PM | | | |
idea Failed to read artifact descriptor for net.minidev:json-smart:jar:2.3-SNAPSHOT
idea runs a Java project with the same error as above.



Reason: The network speed is not good, and there is an error in downloading the dependency package, but the idea thinks that the dependency package has been downloaded, so it will no longer download, but the SpringBoot application cannot find the jar package and report an error.

pom.xml will also report an error.


Solution:

First, set the maven image address to domestic Alibaba Cloud, the tutorial is as follows:

ideaSet up the Alibaba Cloud image in the Maven repository
https://www.itsvse.com/thread-7045-1-1.html
(Source: Architect_Programmer)


Delete the corresponding jar package folder in the repository, maven reimport, that is, let maven download the dependent package again.

The default repository location for local maven
https://www.itsvse.com/thread-5020-1-1.html
(Source: Architect_Programmer)



I first closed the idea tool, deleted "C:\Users\itsvse_pc\.m2\repository", emptied all the files, reopened the project with idea, and right-clicked maven-reimport.







Previous:ideaSet up the Alibaba Cloud image in the Maven repository
Next:The party of feelings is coming! Devouring Heaven and Earth 2 Zhuge Kongming's Biography Study Edition (Chapter 8 Full Version)
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com