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

Comment From: wilkinsona

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.

Comment From: hanlose

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

Comment From: hanlose

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

Comment From: hanlose

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

Comment From: bclozel

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