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

解决步骤

1.检查setting里面maven配置

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

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

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

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

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

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注