Plugin ‘org.springframework.bootspring-boot-maven-plugin‘ not found(已解决)

目录

一.原因

二.解决方法


一.原因

找不到插件,本文问题出现是因为缺少版本描述(可以先观察自己的pom.xml文件中spring-boot-maven-plugin下面有没有版本号)

3.3.1

二.解决方法

确保maven的能正常使用,配置正确

File-> Settings->Build, Execution, Deployment-> Build Tools-> Maven

查看maven的仓库是否存在spring-boot-maven-plugin

查看路径:

…(存放maven的路径)apache-maven-3.9.6maven-repoorgspringframeworkootspring-boot-maven-plugin

可以看到spring-boot-maven-plugin的版本号为3.3.1(查看自己电脑的)

添加版本号如图所示

问题就解决啦