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下载地址发现旧的地址变了
使用新地址

maven引包爆红 failed to transfer from http://maven.aliyun.com/nexus/content/groups/public during a previ_第1张图片

		

    <mirror>
      <id>aliyunmavenid>
      <mirrorOf>*mirrorOf>
      <name>阿里云公共仓库name>
      <url>https://maven.aliyun.com/repository/publicurl>
    mirror>

你可能感兴趣的:(maven,java)