maven本地安裝jar失敗,【Maven】import maven依賴安裝失敗——暫時玄學解決

 2023-10-21 阅读 29 评论 0

摘要:IDEA import maven安裝包失敗 報錯:Could not transfer artifact org.springframework.boot:spring-boot-dependencies:pom:2.3.0.RELEASE from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): sun.security.validator.ValidatorException:

IDEA import maven安裝包失敗

報錯:Could not transfer artifact org.springframework.boot:spring-boot-dependencies:pom:2.3.0.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

maven本地安裝jar失敗,在這里插入圖片描述

解決方法:

先說結論:寬帶不好

maven版本找不到、是實習老師一通操作搞上的,我記得他試過了:

  • 換倉庫和settings配置文件地址。
    在這里插入圖片描述

  • clean 和 install反復嘗試。
    在這里插入圖片描述

  • download source等。
    在這里插入圖片描述

  • 反復檢查mvn版本,spring-boot版本,jdk版本。

  • 反復測網速。。。。

下回讓誰下好了依賴直接傳一份給我吧還是

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/4/156267.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息