逐步构建
buildscript {
ext {
springBootVersion = '2.1.4.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-
plugin:${springBootVersion}")
}
}
错误:-
https://repo.maven.apache.org/maven2/org/springframework/boot/spring-
boot-gradle-plugin/2.1.4.RELEASE/spring-boot-gradle-plugin-
2.1.4.RELEASE.pom'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
要解决此错误,我缺少什么?