Maven cannot resolve spring-boot-starter-data-jpa-test dependency in Spring Boot 4.0.6

19 hours ago 2
ARTICLE AD BOX

I've been making a course of Spring boot fundamentals, with spring 4.0.6 and java 25, but I have some errors with the dependency, I changed the version for 3.5.0, I changed the dependency for another, but nothing

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa-test</artifactId> <scope>test</scope> </dependency> org.springframework.boot:spring-boot-starter-data-jpa-test:pom:4.0.6 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-starter-data-jpa-test:pom:4.0.6 from/to central (https://repo.maven.apache.org/maven2): Host desconocido (repo.maven.apache.org) Try to run Maven import with -U flag (force update snapshots)
Read Entire Article