[Solved] Spring Boot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0

When starting the spring boot project, the following error is suddenly reported:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project xxxxxxx: Input length = 1 -> [Help 1]

According to the error message, the versions of the introduced Maven plug-in Maven resources plugin may conflict. The spring boot version I use is 2.5.7, while the Maven plug-in used here is 3.2.0 the default introduced plug-in:

directly specify its version as follows, and then refresh it

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

Read More: