英文:
Could not transfer artifact org.springframework.boot and transfer failed
问题
我是新手使用Maven,当我开始一个Spring Boot项目时,我遇到了很多问题,如下所示:
无法从alimaven(https://maven.aliyun.com/repository/public)传输依赖项org.springframework.boot:spring-boot-starter-data-jpa:pom:2.2.3.RELEASE: 无法传输 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文件?
英文:
I'm new to maven and when I begin a spring-boot project, i face a lot of problems as below:
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
also, when i use other depedency, the maven cannot download it from my mirror, and my settings is as below
<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>
why cant my maven download any jar from the repo?
专注分享java语言的经验与见解,让所有开发者获益!
评论