Home > Back-end >  The IDEA of Maven project import dependence on failure
The IDEA of Maven project import dependence on failure

Time:12-05

Question:
When in pom to depend on, such as:


Org. Mongodb
Mongo Java - driver
3.0.4 & lt;/version>


Will pull failure and give a download address, click on the download address will jump to the browser, automatically download the jar package, what reason is this? (under the environment of Windows 10)
Error message is as follows:
Could not transfer an artifact org. Mongo: mongo Java - driver: pom: 3.0.4 the from/to alimaven ( http://maven.aliyun.com/nexus/content/repositories/central/) : Transfer failed for http://maven.aliyun.com/nexus/content/repositories/central/org/mongodb/mongo-java-driver/3.0.4/mongo-java-driver-3.0.4.pom

Red is given a download link
Settings. XML is ali, as follows:

Nexus - aliyun
* & lt;/mirrorOf>
The Nexus aliyun
http://maven.aliyun.com/nexus/content/groups/public


Alimaven
Central
Aliyun maven
http://maven.aliyun.com/nexus/content/repositories/central/

What a great god knows what reason?

CodePudding user response:

 

Alimaven
Aliyun maven
http://maven.aliyun.com/nexus/content/groups/public/
Central

CodePudding user response:

Tried this, you don't work, errors in the IDEA of an error or the same as before, in the eclipse is
Project build error: Non - resolvable parent POM for knowledgeGraph: knowledgeGraph: 0.0.1 - the SNAPSHOT: Failure to transfer org. Springframework. The boot: spring - the boot - starter - parent: POM: 2.1.12. RELEASE the from
http://maven.aliyun.com/nexus/content/repositories/central/was cached in the local repository, the resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced.
The Original error: Could not transfer an artifact org. Springframework. The boot: spring - the boot - starter - parent: pom: 2.1.12. RELEASE the from/to alimaven (http://maven.aliyun.com/nexus/content/repositories/central/) :
Sun. Security. The validator. ValidatorException: PKIX path building failed: sun. Security. The provider. Certpath. SunCertPathBuilderException: unable to find the valid certification path to the requested target and
'parent. RelativePath points at wrong local POM

Before I checked the feel is the issue of a certificate, import, downloaded certificate to ali's warehouse to JRD keytool, but still doesn't work, now only through his failure to download to the connection, and then download the jar to the local repository folder manually

CodePudding user response:

In the local repository lastU the file every time I also went to the qing dynasty, but still won't do

CodePudding user response:

Try this

Alimaven
Aliyun maven
http://maven.aliyun.com/nexus/content/groups/public/
* & lt;/mirrorOf>
  • Related