enter image description hereGetting below error in eclipse for spring boot project
Non-resolvable parent POM and Could not transfer artifact from/to central repository and transfer failed for spring-boot-starter-parent-2.1.2.pom
I have tried maven->update project->force update project and tried to delete m2 folder.but failed Can anyone help on this
CodePudding user response:
I thing you version is wrong. Missing the release part.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.2.RELEASE</version>
<type>pom</type>
</dependency>
CodePudding user response:
Try the following
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.0</version>
</parent>