maven引包爆红 failed to transfer from http://maven.aliyun.com/nexus/content/groups/public during a previ
之前一致可以正常使用,然后突然无法引入新的包。
·
之前一致可以正常使用,然后突然无法引入新的包
无法引包
org.apache.flink:flink-streaming-java_2.12:pom:1.13.1 failed to transfer from http://maven.aliyun.com/nexus/content/groups/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.flink:flink-streaming-java_2.12:pom:1.13.1 from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): maven.aliyun.com
解决办法
查找阿里云新的maven下载地址发现旧的地址变了
使用新地址

<!-- <mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror> -->
<mirror>
<id>aliyunmaven</id>
<mirrorOf>*</mirrorOf>
<name>阿里云公共仓库</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
更多推荐




所有评论(0)