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

通过IntellJ IDEA创建Spring Boot项目时,发生以下的问题。如图:

Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings._第1张图片

Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings._第2张图片

此时弹出错误框:
Initialization failed for ‘https://start.spring.io’
Please check URL, network and proxy settings.

Error message:
Error parsing JSON response

错误分析:
URL 是正确的地址,当我在浏览器中打开此网页时,是可以ping通的
network 也是正常的,可以连接的
proxy在google网页中有设置,但没有在IntellJ IDEA中设置。所以可能是这个环节出错

解决办法:添加代理设置在IDEA中,如图:

  1. 点击configure中的settings设置
    Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings._第3张图片

  2. 配置http proxy
    Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings._第4张图片

此时,重新创建项目就可以很顺利的通过了,如图:
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings._第5张图片

你可能感兴趣的:(IntelliJ,spring-boot)