小工具知识网

当前位置: 首页 > 行业知识 > [springboot] spring-boot-maven-plugin指定版本问题

行业知识

[springboot] spring-boot-maven-plugin指定版本问题

2026-12-05 15:14:00 来源:互联网转载

1. pom.xmlindex.php/tags-522.html" >文件报如下错误:(需要指定版本)

() Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found
                                        org.springframework.boot                spring-boot-maven-plugin                        

解决方法:

打开Maven本地仓库。查看/org/springframework/boot路径下的spring-boot-maven-plugin文件夹底下,是否存在与springboot的版本相对应版本号,如果存在,添加标签为自己的springboot版本(这里我的版本是2.7.5):

()
                                        org.springframework.boot                spring-boot-maven-plugin                2.7.5                        

上一篇:滴滴打车下载指南

下一篇:阿里云备案云服务器