welcome to my blog

问题描述: 使用spring initializr创建maven程序, 在intellij idea中打开时报错: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.2.4.RELEASE from https://maven.aliyun.com/repository/central

原因: 我把maven的下载源改成了阿里云, 但是可能是因为阿里云还没有同步一些关键组件

解决方法: 在pom.xml中把spring-boot-starter-parent:pom的版本降到2.1.6就可以了, 如下图所示

Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.2.4.RELEASE

相关文章:

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