If you do not know Checkstyle, please Baidu yourself first.
Replaced the new eclipse, when using Checkstyle to check the code, found always the following error:
Errors occurred during the build.
Errors running builder ' Checkstyle Builder ' on Project ' AAA '.
Fileset from Project "AAA" have no valid check configuration.
......
Workaround:
1, first confirm what you use the Checkstyle check rule is what.
Check your default check rules under the Eclipse-windows-preferences-checkstyle tab, my default rule under Global check configurations is "RULE01". The above can also be seen under the Checkstyle tab of the project properties.
2. Locate the Checkstyle configuration file in the project.
Ctrl + Shift + R to find the. Checkstyle profile, under the Fileset tab, find "Check-config-name=" RULE01 "
<?xml version= "1.0" encoding= "UTF-8"? ><fileset-config file-format-version= "1.2.0" simple-config= "true" Sync-formatter= "false" > <fileset name= "All" enabled= "true" Check-config-name= "Rule01" local= "false" > <file-match-pattern match-pattern= "." Include-pattern= "true"/> </fileset></ Fileset-config>
If the Check-config-name property value corresponds to a rule that is not configured in step 1, an error occurs.
PS: If multiple associated projects are configured, each project will need to be checked again. Checkstyle configuration files.
3, re-refresh the workspace, the error disappears.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Errors occurred during the build. Errors running builder ' Checkstyle Builder ' on project