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

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

<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一下就好了

猜你喜欢

转载自blog.csdn.net/weixin_41110459/article/details/81154488