Plugin ‘org.springframework.boot:spring-boot-maven-plugin:‘ not found的解决方案(亲测可用)
更新时间:2024年01月09日 10:27:55 作者:暴怒的代码
这篇文章给大家介绍了Plugin ‘org.springframework.boot:spring-boot-maven-plugin:‘ not found的解决方案,亲测可用,文中给出了两种解决方法,需要的朋友可以参考下
方法一:清理IDEA的缓存
File -> Invalidate Caches
方法二:添加版本号
先看自己当前的版本号
- 首先打开pom.xml文件进行查看
- Ctrl+F搜索spring-boot-starter-parent
- 找到<artifactId>spring-boot-starter-parent</artifactId>这一行。
- 下面一行就是版本号。
拿我的举例:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.1.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>复制 <version>版本号</version>
然后修改
将上面查找到的版本号粘贴到报错的那一行下面即可。
效果:
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.1.1.RELEASE</version>
</plugin>以上就是Plugin ‘org.springframework.boot:spring-boot-maven-plugin:‘ not found的解决方案(亲测可用)的详细内容,更多关于spring-boot-maven-plugin:‘ not found的资料请关注脚本之家其它相关文章!
相关文章
SpringBoot使用Spring Cache高效处理缓存数据
Spring Cache是一个框架,只要简单加一个注解,就能实现缓存功能,本文主要介绍了SpringBoot使用Spring Cache高效处理缓存数据,感兴趣的可以了解一下2023-11-11
springboot 正确的在异步线程中使用request的示例代码
这篇文章主要介绍了springboot中如何正确的在异步线程中使用request,本文通过示例代码给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下2022-07-07
IDEA中request.getParameter爆红问题及解决
这篇文章主要介绍了IDEA中request.getParameter爆红问题及解决方案,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教2023-11-11


最新评论