无法传输工件org.springframework.boot且传输失败

时间:2020-04-07 10:44:40

标签: java spring spring-boot maven

我是Maven的新手,当我开始一个Spring-boot项目时,我面临很多如下问题:

Could not transfer artifact org.springframework.boot:spring-boot-starter-data-jpa:pom:2.2.3.RELEASE from/to alimaven (https://maven.aliyun.com/repository/public): Transfer failed for https://maven.aliyun.com/repository/public/org/springframework/boot/spring-boot-starter-data-jpa/2.2.3.RELEASE/spring-boot-starter-data-jpa-2.2.3.RELEASE.pom

另外,当我使用其他功能时,maven无法从我的镜像下载它,并且我的设置如下所示

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

为什么我的Maven无法从仓库中下载任何jar?

0 个答案:

没有答案