Failed to execute spring-boot-maven-plugin问题的解决
问题描述
在使用idea修改pom.xml的下列项:
<groupId>com.mysoft.plugins</groupId>
<artifactId>demo</artifactId>
<version>1.0</version>
<name>demo</name>
<description>demo project for Spring Boot</description>
主要是将demo修改为其它名称,结果在执行打包操作时出现了如下错误:
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin
问题分析
估计原来的artifactId还保存在其它地方而造成了冲突。
问题解决
将项目的输出目录(即target目录)全部删掉再重新打包就成功了。
还没有评论,来说两句吧...