用Idea创建SpringBoot项目的时候总是很慢,而且好多时候直接创建不了,发生如下的错误:
错误: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
这是由于start.spring.io在国外,访问速度比较慢。
解决办法
试了网上其他的check connection的方法都没有效果,发现阿里提供了镜像网址。将原网址替换为阿里云的数据源网址https://start.aliyun.com/