How to Solve Error: spring-boot-maven-plugin not found

Create a springboot project through the IDE

<plugin>
 <groupId>org.springframework.boot</groupId>
 <artifactId>spring-boot-maven-plugin</artifactId>//the Line 
</plugin>

Prompt spring boot Maven plugin not found. I found it on the Internet by adding <pluginRepositories> It was solved, but it didn’t work after testing. After many attempts, the spring boot Maven plugin was successfully resolved after specifying the version.

Modified POM.XML file

<plugin>  
 <groupId>org.springframework.boot</groupId>  
 <artifactId>spring-boot-maven-plugin</artifactId>  
 <version>2.2.2.RELEASE</version>
</plugin>

Similar Posts: