解决maven下载jar包失败,生成lastUpdate文件

解决maven下载jar包失败,生成lastUpdate文件

在maven的settings.xml配置文件中,修改mirror

1
2
3
4
5
6
<mirror>
<id>nexus-aliyun</id>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>

保存之后,右键你的项目,maven->update一下就好了

参考自:https://blog.csdn.net/weixin_41110459/article/details/81154488

#

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×