目录
步骤二:找到Maven下的settings.xml文件修改镜像
[编辑 编辑编辑](#编辑 编辑编辑)
步骤三:用VScode打开settings.xml文件修改镜像
步骤一:在IDEA中搜索Maven(双击shift)

步骤二:找到Maven下的settings.xml文件修改镜像
(大概路径C:\Users\黄昏_\.m2\wrapper\dists\apache-maven-3.9.9-bin\4nf9hui3q3djbarqar9g711ggc\apache-maven-3.9.9\conf)
步骤三:用VScode打开settings.xml文件修改镜像
(ctrl+f搜索mirror)注释原始镜像,换成阿里云镜像。
<!--------阿里云镜像------>
 <mirror>  
        <id>alimaven</id>  
        <name>aliyun maven</name>  
        <url>https://maven.aliyun.com/nexus/content/groups/public/</url>  
        <mirrorOf>central</mirrorOf>
     </mirror>
        不到一分钟就下载好了。

 

