插件安装
如果打卡idea界面发现没有Spring Initializr
安装插件
安装好之后重启,打开之后一步一步走下去
发现pom.xml报错。
检查maven的settings.xml文件发现,配的是私服地址,所以加上一句话
<mirror>
<id>nexus-public</id>
<mirrorOf>springboot</mirrorOf>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
Reimport一下发现依赖都下载下来了
附上常用的公共仓库地址
http://maven.aliyun.com/nexus/content/groups/public/
https://app.camunda.com/nexus/content/groups/public/
http://repo.spring.io/release/
http://repo.maven.apache.org/maven2/
http://repo1.maven.org/maven2/
https://maven.alfresco.com/nexus/content/groups/public/
http://maven.oschina.net/content/groups/public/