spring-projects / spring-boot

Spring Boot
https://spring.io/projects/spring-boot
Apache License 2.0
74.94k stars 40.64k forks source link

Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:3.2.0 #38519

Closed hanlose closed 11 months ago

hanlose commented 11 months ago

Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:3.2.0 from http://repo1.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of repo1 has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:3.2.0 from/to repo1 (http://repo1.maven.org/maven2/): Failed to transfer file http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-parent/3.2.0/spring-boot-starter-parent-3.2.0.pom with status code 501

屏幕截图 2023-11-24 005020

wilkinsona commented 11 months ago

A 501 response from Maven Central is out of our control. It's either a problem with Maven Central itself or with a proxy server the lies somewhere between your computer and Maven Central. Please retry using -U as the error suggests.

hanlose commented 11 months ago

image image image

hanlose commented 11 months ago

only spring-boot-starter-data-mongodb cant transfer

hanlose commented 11 months ago

how about 405 Could not transfer artifact org.springframework.boot:spring-boot-starter-data-mongodb:jar:3.2.0 from/to io.spring.repo.maven.release (http://repo.spring.io/release/): Failed to transfer file http://repo.spring.io/release/org/springframework/boot/spring-boot-starter-data-mongodb/3.2.0/spring-boot-starter-data-mongodb-3.2.0.jar with status code 405

bclozel commented 11 months ago

@hanzhentao release downloads from repo.spring.io are not allowed, you should use maven central instead.