解決辦法:
1. 修改settings.xml,添加:
<mirror>
<id>Central</id>
<url>http://repo1.maven.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
2. 刪除項目,eclipse 重啟 重新創建項目
原文鏈接:https://blog.csdn.net/m0_37751917/article/details/80794675