赞
踩
Some problems were encountered while building the effective model for org.example:cloud2021:pom:1.0-SNAPSHOT
'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 88, column 15
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
用IDEA创建springboot项目的时候遇到的一些坑,记录一下
在pom.xml文件中“spring-boot-maven-plugin” 报红了,显示not found 找不到。
如下图所示:
先来看一个翻译
定位到87行,找到问题配置
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>//这行红色
</plugin>
也在网上看了一些别人的解决方式,最后我通过给spring-boot-maven-plugin指定版本后成功解决。修改后如下:
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.6.RELEASE</version>
</plugin>
解决!!!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。