解決辦法: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