1. 程式人生 > >Spring Initializr 報錯:Initialization failed for 'https://start.spring.io'

Spring Initializr 報錯:Initialization failed for 'https://start.spring.io'

今天使用IntellijIDEA建立SpringBoot專案報錯,

錯誤描述:Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings. Error message: connect timed out

有人給出了兩種解決方案,親測第二種有效。 ->開啟Settings介面  ->點選Appearance & Behavior選單  ->點選HTTP Proxy選單  ->勾選Auto-detect proxy settings複選框  ->勾選Automatic proxy configuration URL: 複選框,並在輸入框中錄入https://start.spring.io/  ->點選OK,測試連線成功,退出

有可能操作幾次才成功,因為https://start.spring.io經常連線不上。建立專案我建立了4次,最後一次才成功了,祝各位好運!

原文:https://blog.csdn.net/hanchao5272/article/details/80388780