Issue
When starting the application following resolving issue is raised.
Cannot resolve org.springframework.boot:spring-boot-devtools:pom:2.6.5 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt.
This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced.
Original error: Could not transfer artifact org.springframework.boot:spring-boot-devtools:pom:2.6.5 from/to central (https://repo.maven.apache.org/maven2):
transfer failed for https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-devtools/2.6.5/spring-boot-devtools-2.6.5.pom
The URL is reachable.
Solution
It seems that your local version (inside ~/.m2/repository
) of this dependency is corrupted. Try deleting it there and restart the download process from maven central again.
Answered By - Valerij Dobler
Answer Checked By - Clifford M. (JavaFixing Volunteer)