Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom错误解决

旧城等待, 2024-03-08 01:43 196阅读 0赞

今天初始化SpringBoot的时候遇到了一个问题,Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom

解决步骤:

1.检查setting里面maven的配置:

a5a9cdd1520e6f595455a75fa8b9104e.png

29d43e3dba3d85b06649dcf274de4903.png

然后我发现自己并没有问题,开始第二步。

2.更换仓库和镜像,也没用。

3.查看阿里云镜像,访问https://maven.aliyun.com/mvn/view 进入仓库服务

23a0adb342853dae33e46fd7c91aabec.png

b7d39d6b487f79cb5d8c15284c5c9c41.png

更换中心仓库地址,最终解决问题。

浪费了四个小时在解决问题上,以此文谨记浪费的时间。

发表评论

表情:
评论列表 (有 0 条评论,196人围观)

还没有评论,来说两句吧...

相关阅读