为什么我用阿里云的Maven仓库下不了jar包

Harmel 发布于 04/25 10:12
阅读 1K+
收藏 0

我配置了阿里云的Maven仓后,一些基本的jar包还是可以下载的,如果是Spring Boot相关的jar包,都会报如下错误:

#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Apr 25 10:03:34 CST 2019
http\://maven.aliyun.com/nexus/content/groups/public/.error=Could not transfer artifact org.springframework.boot\:spring-boot-starter-freemarker\:jar\:javadoc\:2.1.4.RELEASE from/to nexus-aliyun (http\://maven.aliyun.com/nexus/content/groups/public)\: sun.security.validator.ValidatorException\: PKIX path building failed\: sun.security.provider.certpath.SunCertPathBuilderException\: unable to find valid certification path to requested target
@default-nexus-aliyun-http\://maven.aliyun.com/nexus/content/groups/public/.lastUpdated=1556157814447

看错误提示应该是证书的问题,请问如何配置呀,谢谢!

加载中
0
Harmel
Harmel

原因我已经找到了,我以前部署过CAS服务,所以导入了自己的证书,现在重装了JDK后该错误没有出现

返回顶部
顶部