Home > Back-end >  An error when creating springboot, does anyone know how to solve
An error when creating springboot, does anyone know how to solve

Time:09-24

Pom. The XML code in the


Org. Springframework. Boot
Spring - the boot - starter - parent
1.3.0. RELEASE




Org. Springframework. Boot
Spring - the boot - starter - web



The parent error:

Project build error: Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.RELEASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.RELEASE from/to central (http://repo1.maven.org/maven2): Connect times out and 'parent.relativePath' points at wrong local POM

CodePudding user response:

Seems can't find the maven warehouse
You use ali cloud warehouse try http://maven.aliyun.com
. Another 1.3.0 RELEASE this version is a little old, use the latest version of the

CodePudding user response:

Spring - the boot - starter - the parent did not download good, go in warehouse out, download again,,,

CodePudding user response:

Big brother how do you solve the problem I encountered this problem for two days now didn't find a solution if you solve the trouble to help with many thanks

CodePudding user response:

补一下 这个错误信息 : Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.1.8.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.8.RELEASE from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

CodePudding user response:

Could not find an artifact org. Springframework. The boot: spring - the boot - maven - plugin: pom: in central (https://repo.maven.apache.org/maven2)
Meet the same problem

CodePudding user response:

Problem has been solved, is the issue of the certificate,

CodePudding user response:

This is a blog address
http://www.fungnotl.cn/2020/02/24/%E7%9C%9F%E6%AD%A3%E8%A7%A3%E5%86%B3Could%20not%20transfer%20artifact%20org.springframework.boot_spring-boot-starter-parent_pom/

Clean after sun. Security. The provider. Certpath. SunCertPathBuilderException: unable to find the valid certification path to the requested target, the fault is the certificate problem, two kinds of solutions, the blog

CodePudding user response:

reference 3 floor one stray cat replies:
big brother how do you solve the problem I encountered this problem for two days now have not find a solution if you solve the trouble to help solve the thank you very much

Excuse me, would you please tell me how you solved the problem now, I have deployed the use of micro service as well as maven project is out of this problem, a local warehouse always can't find a dependent package

CodePudding user response:

引用 4 楼 壹只流浪猫 的回复:
补一下 这个错误信息 : Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.1.8.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.8.RELEASE from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I have encountered this problem, before the use of a good, suddenly like this, for a long time didn't do well
  • Related