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 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 link 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 ( link ): connect timed out and 'parent.relativePath' points at non-local POM
There are similar questions that suggest that 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 do not understand the error (to which it refers). Please, I need some light. Thanks in advance.