用IDEA创建SpringBoot项目时出现:
Initialization failed for ‘https://start.spring.io’ Please check URL, network and proxy settings.

Error message:
Cannot download ‘https://start.spring.io’: Read timed out

网上也看了许多方法,但都没有成功。

先ping下:
IDEA创建SpringBoot项目出现Initialization failed for ‘https://start.spring.io‘ Please check URL...
看来这样是行不通了。于是我又查啊查,找到了可行的方案。

解决方案:
采用阿里云的 https://start.aliyun.com/

IDEA创建SpringBoot项目出现Initialization failed for ‘https://start.spring.io‘ Please check URL...
IDEA创建SpringBoot项目出现Initialization failed for ‘https://start.spring.io‘ Please check URL...
就可以创建SpringBoot项目了,不过在创建SpringBoot项目时,如果没特殊的要求,最好别用最新的SpringBoot版本,我用的就是默认显示的版本,但后面导入依赖时出现以下错误:
IDEA创建SpringBoot项目出现Initialization failed for ‘https://start.spring.io‘ Please check URL...
错误描述:

Could not find artifact org.springframework.boot:spring-boot-maven-plugin…

大概原因可能是阿里云没有同步一些关键的组件吧(额。。。我也不太清楚)
然后我在pom文件中修改了下版本信息,重新导入一下,如下:
IDEA创建SpringBoot项目出现Initialization failed for ‘https://start.spring.io‘ Please check URL...

最后,成功解决(搞了一上午,心累,对初学者太不友好了。。。)

相关文章:

  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2021-08-22
  • 2021-12-21
  • 2021-08-19
猜你喜欢
  • 2021-05-01
  • 2022-01-13
  • 2021-09-18
  • 2021-12-17
  • 2021-09-29
  • 2022-12-23
  • 2021-05-29
相关资源
相似解决方案