IDEA使用Spring Initializr创建项目时报错

但在浏览器中输入https://start.spring.io能正常访问。

解决方式

点击“Check connection”测试一下配置,输入 https://start.spring.io  ,提示连接成功,就说明弄好了。