一篇文章带你完美解决Failed xxx.plugins:maven-resources-plugin:3.2.0 错误
Posted 南淮北安
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了一篇文章带你完美解决Failed xxx.plugins:maven-resources-plugin:3.2.0 错误相关的知识,希望对你有一定的参考价值。
一、问题出现
package 打包时,出现:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
二、问题解决
在 pom 文件中找到:
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
添加:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-filtering</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</plugin>
即:
以上是关于一篇文章带你完美解决Failed xxx.plugins:maven-resources-plugin:3.2.0 错误的主要内容,如果未能解决你的问题,请参考以下文章
完美解决 python ImportError: Failed to import any qt binding
Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedd(究极踩坑完美解决)
完美解决error: command ‘C:Program FilesNVIDIA GPU Computing ToolkitCUDAv11.0in vcc.exe‘ failed
Web server failed to start. Port XXX was already in use.完美解决方案
Web server failed to start. Port XXX was already in use.完美解决方案