解决办法:eclipse
1. 修改settings.xml,添加:maven
<mirror>
<id>Central</id>
<url>http://repo1.maven.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
2. 删除项目,eclipse 重启 从新建立项目url
原文连接:https://blog.csdn.net/m0_37751917/article/details/80794675.net