I am creating a Spring Boot project using the Spring Starter Project. At first I did it normally a couple of times a few days ago. Today I try it again and I find this error.
The description of the error is this:
Project build error: Non-resolvable parent POM for com.example:demo:0.0.1-SNAPSHOT: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.5.15.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be 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-parent:pom:1.5.15.RELEASE from/to central ( https://repo.maven.apache.org/maven2 ): connect timed out and 'parent.relativePath' points at no local POM
There are similar questions that suggest you do this:
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.15.RELEASE</version> <relativePath>../pom.xml</relativePath> <!-- lookup parent from repository --> </parent>
But nothing happens. And in general I don't understand the error (what it refers to). Please I need you to shed some light on it. Thanks in advance.