确定是否使用的是idea自带的maven
打开idea的安装目录
找到idea下maven的相关目录
找到maven的配置文件
修改配置文件,配置阿里云的镜像
阿里云镜像配置:
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*,!jeecg,!jeecg-snapshots</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
大功告成!!!
如果对您有帮助记得回来点赞!!!