找到maven 仓库 -----conf ----settings.xml----粘贴如下代码[阿里云的maven 镜像]
<mirror> <!--This sends everything else to /public -->
<id>nexus-aliyun</id> <mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url></mirror>