springboot项目打包出现报这个错:

[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ myspringsecurity ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource

解决: 降低maven版本,在<build></build>标签中的<plugins></plugins>标签下加入下面配置


<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-resources-plugin</artifactId>
    <version>3.0.2</version>
</plugin>

更多推荐