在用idea创建spring的时候出现Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings.  Error message: Cannot download 'https://start.spring.io': Read timed out 这种错误的解决方案。

'https://start.spring '的初始化失败。请检查URL,网络和代理设置。错误消息:无法下载'https://start.spring。io':读超时

 

 

 解决办法

1,File ——》Settings ,打开Settings设置界面

2,搜索HTTP Proxy

3,点击Auto-detect proxy settings

4,勾选Automatic proxy configuration URL

5,输入 https://start.spring.io

6,点击按钮 Apply 和 OK
 

 可以check connection测试

 

 即可

但是如果还是连接失败,排查防火墙是否添加了 idea允许通过。

我们可以把“choose  Initializr Service URL ”替换成阿里云的URL路径,路径如下:

https://start.aliyun.com

 即可。

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐