idea maven 配置阿里云镜像问题

图片说明图片说明图片说明图片说明

Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.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.0.RELEASE from/to central (https://repo.maven.apache.org/maven2): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

下载架包时候包了这个异常 但是我setting里面配的不是这个地址https://repo.maven.apache.org/maven2

https://blog.csdn.net/weixin_40453395/article/details/93755362

应该不会的。建议使用自己从Apache下载的maven,不要使用idea自带的maven(截图中显示maven 3.6.1 ,配置的settings路径上显示maven版本3.6.3)。