快速创建 Spring Boot 项目无法访问 start.spring.io
无法访问 start.spring.io
报错提示
https://start.spring.io’的初始化失败请检查URL、网络和代理设置。 错误消息: Cannot download ‘https://start.spring.io’:connect timed out 连接超时
总是报“Cannot download ‘https://start.spring.io’: connect timed out”,很耽误时间。
解决方法
- 网络问题,换个网络试试,比如手机热点
- 自行搭建本地的Spring Initializr
- 关闭防火墙、关闭浏览器代理。(不建议使用)
-
防火墙 浏览器代理
- 使用阿里云 https://start.aliyun.com 地址直接替代。(建议使用、最佳方案)
或者
- 打开Settings
- 找到HTTP Proxy
- 选中Auto-detect proxy settings
- 勾选Automatic proxy configuration URL 输入 https://start.spring.io 即可
- 点击apply -> ok 就行了
以上操作就可以解决“https://start.spring.io”,链接超时的问题了。