idea中使用Springboot Initializr連接‘https://start.spring.io’超時解決方法

在使用 Idea 快速構建 Springboot 項目(傳送門:IDEA創建SpringBoot項目)時,由於網絡連接問題,很可能會報如下異常:

Error
.
Initialization failed for ‘https://start.spring.io
Please check URL, network and proxy settings.
.
Error message:
Cannot download ‘https://start.spring.io’: connect timed out
.

如下圖所示:
在這裏插入圖片描述

一種解決辦法:

請依次按下圖步驟進行設置:
在這裏插入圖片描述
如果網絡沒有問題,則步驟⑤和⑥會返回連接成功,如下:
在這裏插入圖片描述