Initalization failed for ‘https://start.spring.io‘.Please check URL, network and proxy settings的解决方案

新建springboot项目,报错信息如下:
Initalization failed for ‘https://start.spring.io‘.Please check URL, network and proxy settings的解决方案_第1张图片
Initalization failed for ‘https://start.spring.io‘.Please check URL, network and proxy settings的解决方案_第2张图片

Initalization failed for 'https://start.spring.io'
Please check URL, network and proxy settings

Error message:
Cannot download 'https://start.spring.io':connect timed out

翻译:

“https://start.spring.io”初始化失败

请检查URL,网络和代理设置

错误信息:

不能下载的https://start.spring.io”:连接超时

解决方案:

  1. File ——》Settings ,打开Settings设置界面

  2. 搜索HTTP Proxy

  3. 点击Auto-detect proxy settings

  4. 勾选Automatic proxy configuration URL

  5. 输入 https://start.spring.io

  6. 点击按钮 Apply 和 OK

Initalization failed for ‘https://start.spring.io‘.Please check URL, network and proxy settings的解决方案_第3张图片
点击按钮 Check connection, 提示 Connection successful,连接成功,重新点击 Spring Initalizr,新建springboot项目即可正常创建项目

Initalization failed for ‘https://start.spring.io‘.Please check URL, network and proxy settings的解决方案_第4张图片

如果还是提示报错,可以采用一下的解决方案
解决方案:
选择 Custom,输入阿里云的地址 https://start.aliyun.com/

Initalization failed for ‘https://start.spring.io‘.Please check URL, network and proxy settings的解决方案_第5张图片
然后就可以正常创建项目了
Initalization failed for ‘https://start.spring.io‘.Please check URL, network and proxy settings的解决方案_第6张图片

你可能感兴趣的:(springboot)