Error transferring file: Server returned HTTP response code: 501 for URL:

[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.2.2.RELEASE/spring-boot-starter-parent-2.2.2.RELEASE.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.zx:api-sdk:0.0.1-SNAPSHOT (D:\git\2020\company\api-sdk\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.2.2.RELEASE from central (http://repo1.maven.org/maven2): Error transferring file: Ser
ver returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.2.2.RELEASE/spring-boot-starter-parent-2.2.2.RELEASE.pom and 'parent.relativePath
' points at wrong local POM @ line 5, column 10 -> [Help 2]
[ERROR]
 

idea中 执行 mvn clean install

发布了636 篇原创文章 · 获赞 58 · 访问量 47万+

猜你喜欢

转载自blog.csdn.net/wxb880114/article/details/104154302