springboot打包错误:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0

解决方法:修改maven-resources-plugin的版本

<build>
<plugins>
<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.4.3</version>
</plugin>
<!—->

</plugins>
</build>