开发者社区> 问答> 正文

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

我配置了阿里云的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

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

我遇到了这个问题,刚好在开源中国看到,希望能够得到阿里云官方的回复,请查看

展开
收起
因为相信,所以看见。 2020-05-24 22:09:53 1883 0
1 条回答
写回答
取消 提交回答
  • 重装了JDK后该错误没有出现

    2021-02-22 18:57:33
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载