成功解决 Plugin ‘org.springframework.boot:spring-boot-maven-plugin:‘ not found
•
后端
Plugin ‘org.springframework.boot:spring-boot-maven-plugin:‘ not found的解决方案,亲测可用!
方法一:清理IDEA的缓存
File -> Invalidate Caches
方法二:添加版本号
先看自己当前的版本号
- 首先打开pom.xml文件进行查看
- Ctrl+F搜索spring-boot-starter-parent
- 找到spring-boot-starter-parent这一行。
- 下面一行就是版本号。
拿我的举例:
org.springframework.boot spring-boot-starter-parent 2.1.1.RELEASE
复制 版本号
然后修改
将上面查找到的版本号粘贴到报错的那一行下面即可。
效果:
org.springframework.boot spring-boot-maven-plugin 2.1.1.RELEASE
本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://www.net2asp.com/6077d3f04a.html
