IDEA maven下载依赖慢

用IDEA打开Maven仓库的settings.xml
在这里插入图片描述

在这里插入图片描述

从新修改一下仓库路径和阿里镜像,重启IDEA

<localRepository>仓库路径</localRepository>
<mirror>
	<id>alimaven</id>
	<name>aliyun maven</name>
	<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
	<mirrorOf>central</mirrorOf>
</mirror>

猜你喜欢

转载自blog.csdn.net/qq_40803085/article/details/105732435