idea中更改下载源

C:Program FilesJetBrainsIntelliJ IDEA 2021.2.1pluginsmavenlibmaven3confsettings.xml

https://blog.csdn.net/qq_41950447/article/details/104378598

https://blog.csdn.net/qq_44761359/article/details/107091335

在用idea中配置spring框架时,maven中添加依赖,结果怎么也添加不上,下面的下载进度条就是不动,我想应该是下载源路径的问题,换成了阿里的下载源后下载速度突飞猛进,一个字爽!!!

在设置里找到此路径


在文件里找到具体位置


进入conf文件夹中的setting.xml

在 中添加

<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
1
2
3
4
5
6
重启idea
————————————————
版权声明:本文为CSDN博主「明天天明~」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_41950447/article/details/104378598

原文地址:https://www.cnblogs.com/chinasoft/p/15267177.html