eclipse pom.xml 编译问题
Project build error: Non-resolvable parent POM for com.hebca.baoquan:chain:0.0.1-SNAPSHOT: Failure to transfer org.springframework.boot:spring-boot-
starter-parent:pom:2.0.2.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.0.2.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 and 'parent.relativePath' points at no
local POM
starter-parent:pom:2.0.2.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.0.2.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 and 'parent.relativePath' points at no
local POM
解决:JDK版本问题,jdk1.8.0_144不行,更换高版本后可以,jdk-11.0.3
浙公网安备 33010602011771号