参考:https://blog.csdn.net/weixin_43567035/article/details/109706572
pom.xml文件使用版本如下:2.4.1
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
打包时报错:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project。。。此时:maven-resources-plugin:3.2.0
更换版本:2.3.7.RELEASE
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.7.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
成功,此时:maven-resources-plugin:3.1.0
仅作为学习记录