检查maven settings.xml 中镜像的配置(需要指定mirrorOf),正确配置如下:

<mirror>
    <id>alimaven</id>
    <name>aliyun maven</name>
    <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
    <mirrorOf>central</mirrorOf>        
</mirror>

多谢@intellijidea


首发于https://stefango.tk/post/code...


Stefango
7 声望0 粉丝

Email: c3RlZmFuZ29AcXEuY29t