打开maven文件找到conf打开settings.xml文件
搜索<mirrors></mirrors>
在这中间加上阿里的jar仓库
<
mirror
>
<
id
>alimaven
</
id
>
<
name
>aliyun maven
</
name
>
<
url
>http://maven.aliyun.com/nexus/content/groups/public/
</
url
>
<
mirrorOf
>central
</
mirrorOf
>
</
mirror
>