drish
drish

Reputation: 19

Non-resolvable parent POM and Could not transfer artifact from/to central repository

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

Upvotes: 0

Views: 1622

Answers (2)

Azeem Ahamed
Azeem Ahamed

Reputation: 37

Try the following

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.4.0</version>
</parent>

Upvotes: 0

pringi
pringi

Reputation: 4672

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>

Upvotes: 1

Related Questions