idea带的maven在SpringBoot下载jar包出错

找到idea安装目录

/IntelliJ IDEA/plugins/maven/lib/maven3/conf/settings.xml

搜索:mirrors

添加到mirrors标签里

<mirrors>
	<mirror>
	 <id>centralid>
	 <mirrorOf>centralmirrorOf>
	 <url>https://maven.aliyun.com/repository/publicurl>
	mirror>
	...
mirrors>

你可能感兴趣的:(Java,intellij-idea,maven,spring,boot,jar包下载出错)