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

一. 问题描述

在使用IDEA的SpringBoot Initializr快速构建springboot应用的时候,总是会遇到Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings. Error message: connect timed out

二. 解决方案

这里有3种不同的解决方案,第一种比较常见,第二种和第三种可能比较有用

2.1 方案一

首先选择setting->xxx,在弹出的框中输入https://start.spring.io如下:
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings. Er
然后再创建springboot就非常顺利了。

2.2 方案二

如果上面的方案不能解决,可能电脑的防火墙将https://start.spring.io挡住了。前往电脑防火墙允许浏览器idea 访问。如下:
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings. Er

2.3 方案三

如果找不到上面的界面,如果你电脑上安装了火绒安全软件,那么点击火绒的“安全区”,将idea和浏览器添加进信任区域。如下:
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings. Er
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings. Er