org.springframework.boot:spring-boot-starter-parent:pom:2.3.4.RELEAS

前言

git上拉了一个项目构建过程中无论是clean还是install都报错
注:很看不惯某博主一点简单的经验分享都要开VIP才能查看的作风

org.springframework.boot:spring-boot-starter-parent:pom:2.3.4.RELEASE failed to transfer from 
https://maven.aliyun.com/repository/central during a previous attempt. This failure was cached in the local repository and
resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-
boot-starter-parent:pom:2.3.4.RELEASE from/to aliyunmaven (https://maven.aliyun.com/repository/central): transfer failed for https://maven.aliyun.com/repository/central/org/springframework/boot/spring-boot-starter-parent/2.3.4.RELEASE/spring-boot-starter-parent-2.3.4.RELEASE.pom

1、忽略证书

按照网上说的加证书忽略 重启 依然没用
参考文章

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

在这里插入图片描述

重新加载也没用
在这里插入图片描述

二、加代理

settings.xml 加代理;有可能是自己电脑开启了蒲公英或者EasyConnect等软件导致无法连接上远端仓库,重启,还是没用

 <proxy>
      <id>optional</id>
      <active>true</active>
      <protocol>http</protocol>
      <username>proxyuser</username>
      <password>proxypass</password>
      <host>proxy.host.net</host>
      <port>80</port>
      <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>

三、网络

前两者试完,发现没啥作用,不删除配置(也能删),直接手机开启热点电脑连接,好了,真是离谱的体验;

  • 5
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值