Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error resolving version for plugin spring-boot-maven-plugin'

getting below error in eclipse while importing maven project and trying to update it... Error resolving version for plugin 'org.springframework.boot:spring-boot-maven-plugin' from the repositories [local (C:\tBuild\repo), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [Help 1]

enter image description here

like image 597
Hemant Kolse Avatar asked Oct 17 '25 13:10

Hemant Kolse


1 Answers

In general you should share your pom.xml to get the the correct answer otherwise we can only speculate.

Here are some of the possible reasons:

  1. You haven't specified the spring boot maven plugin version, at least raises a warning about it.

  2. This can be resolved automatically if you inherit from spring boot parent or use bill of materials. These require additional declarations in your pom. For parent (usual approach) it should be something like:

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.2.2.RELEASE</version>    
</parent>
like image 81
Mark Bramnik Avatar answered Oct 19 '25 02:10

Mark Bramnik