"Failed during checkstyle execution" Displayed When Compiling Spring Boot
Symptom
During the Spring Boot compilation, when maven-checkstyle-plugin is checked, the message "[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (checkstyle-validation) on project spring-cloud-context: Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.18 with checkstyle.xml ruleset. -> [Help 1]" is displayed.

Key Process and Cause Analysis
The check of maven-checkstyle-plugin fails. The same problem exists in the x86 environment. This document does not involve code committing, remove the plugin.
Conclusion and Solution
- Open the pom.xml file in the source code directory.
vim pom.xml
- Press i to enter the insert mode and use <!-- and --> to comment out the plugin where maven-checkstyle-plugin is located.

- Press Esc, type :wq!, and press Enter to save the file and exit.
- Recompile Spring Boot.
./mvnw clean install -Dgpg.skip=true
Parent topic: Troubleshooting