快速创建 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”,很耽误时间。

解决方法

  1. 网络问题,换个网络试试,比如手机热点
  2. 自行搭建本地的Spring Initializr
  3. 关闭防火墙、关闭浏览器代理。(不建议使用)
    防火墙 浏览器代理
  1. 使用阿里云 https://start.aliyun.com 地址直接替代。(建议使用、最佳方案)

或者

  1. 打开Settings
  2. 找到HTTP Proxy
  3. 选中Auto-detect proxy settings
  4. 勾选Automatic proxy configuration URL 输入 https://start.spring.io 即可
  5. 点击apply -> ok 就行了

以上操作就可以解决“https://start.spring.io”,链接超时的问题了。

经验分享 程序员 微信小程序 职场和发展