Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings.
搜到了两种解决办法
-
try to use ‘http://start.spring.io’ instead of ‘https://start.spring.io’. it works for me.
看到了很多人使用了这个方法解决了。
-
还有一种方法就是在IntelliJ IDEA上设置代理
Configure→Settings→搜索 HTTP Proxy→设置代理
我用的是很笨的方法:回上一步,重复几次,直到成功。
-
创建出项目没有src目录
-
Maven下载慢
这两个问题有个通用的解决办法——配置Maven国内镜像
在Maven的settings.xml文件中的之间添加镜像,找到了下面这些,肯定不止这些还有其他的镜像。
<mirror>
<id>aliyun</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>
http://maven.aliyun.com/nexus/content/groups/public/
</url>
</mirror>
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo2.maven.org/maven2/</url>
</mirror>
<mirror>
<id>mvn</id>
<mirrorOf>central</mirrorOf>
<name>mvnrepository</name>
<url>http://mvnrepository.com/</url>
</mirror>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>uk</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://uk.maven.org/maven2/</url>
</mirror>
<mirror>
<id>CN</id>
<name>OSChina Central</name>
<url>http://maven.oschina.net/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>nexus</id>
<name>internal nexus repository</name>
<url>http://repo.maven.apache.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>

浙公网安备 33010602011771号