Home > Back-end >  Request for help: download Maven repository based on packet PKIX path building failed: sun. Security
Request for help: download Maven repository based on packet PKIX path building failed: sun. Security

Time:11-28

With the IDEA of new springboot project maven request depends on remote warehouse download package times wrong:
 Non - resolvable parent POM for team. Legend: jobhunter: 0.0.1 - the SNAPSHOT: Could not transfer an artifact org. Springframework. The boot: spring - the boot - starter - parent: POM: 2.1.9. RELEASE the from/to alimaven (http://maven.a 
Liyun.com/nexus/content/repositories/central/) : sun. Security. The validator. ValidatorException: PKIX path building failed: sun. Security. The provider. Certpath. SunCertPathBuilderException: unable to find valid certificati
On the path to the requested target and 'parent. RelativePath points at no local POM @ line 5, the column 13 - & gt; [2] Help


Personal reason is that the SSL certificate validation failure, but in the target site to download certificate, use the keytool manually after import still does not resolve the error, hope to have a great god can help provide a train of thought
Internet also provides one reason may be that the JDK version of the problem, but I'm JDK version 1.8 u_201, there should be no problem,,,
Below labeled all the error log, thank you for the great god!!!!

` ` `
 E: \ JetBrains \ IDEA_prj \ jobhunter> MVN install 
[the INFO] Scanning for the projects...
Downloading from alimaven: http://maven.aliyun.com/nexus/content/repositories/central/org/springframework/boot/spring-boot-starter-parent/2.1.9.RELEASE/spring-boot-starter-parent-2.1.9.RELEASE.pom
[ERROR] [ERROR] Some of the problems were encountered while processing the POMs just:
(FATAL) Non - resolvable parent POM for team. Legend: jobhunter: 0.0.1 - the SNAPSHOT: Could not transfer an artifact org. Springframework. The boot: spring - the boot - starter - parent: POM: 2.1.9. RELEASE the from/to alimaven (http://maven.aliyu
N.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 p
Ath to requested target and 'parent. RelativePath points at no local POM @ line 5, the column 13
@
[ERROR] The build could not read 1 project - & gt; [1] Help
[ERROR]
[ERROR] The project team. Legend: jobhunter: 0.0.1 - The SNAPSHOT (E: \ JetBrains \ IDEA_prj \ jobhunter \ pom XML) from 1 ERROR
[ERROR] Non - resolvable parent POM for team. Legend: jobhunter: 0.0.1 - the SNAPSHOT: Could not transfer an artifact org. Springframework. The boot: spring - the boot - starter - parent: POM: 2.1.9. RELEASE the from/to alimaven (http://maven.a
Liyun.com/nexus/content/repositories/central/) : sun. Security. The validator. ValidatorException: PKIX path building failed: sun. Security. The provider. Certpath. SunCertPathBuilderException: unable to find valid certificati
On the path to the requested target and 'parent. RelativePath points at no local POM @ line 5, the column 13 - & gt; [2] Help
[ERROR]
[ERROR] To see the full stack trace of the errors, re - run Maven have the -e switch.
[ERROR] Re - run Maven using the -x switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, both please read the following articles:
[ERROR] [1] Help http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [2] Help http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

CodePudding user response:

I also am the mistake, excuse me somebody know how to solve?

CodePudding user response:

I also met, without solution

CodePudding user response:

Hello, how do you import certificate? Ali maven repository certificate? Can you provide a tutorial, I also try, facing the same problem, very afflictive

CodePudding user response:

Pkix problems directly reshipment system can solve this problem? To solve the
  • Related