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

 

解决步骤:

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

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

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

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

 

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

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

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

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

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

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

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2021-08-17
  • 2021-08-13
  • 2022-12-23
  • 2021-10-17
  • 2021-08-06
猜你喜欢
  • 2021-07-14
  • 2021-08-16
  • 2021-11-30
  • 2022-12-23
  • 2022-01-27
  • 2021-08-22
  • 2021-09-13
相关资源
相似解决方案