Errors occurred during the build. Errors running builder ' Checkstyle Builder ' on project

Source: Internet
Author: User
Tags checkstyle

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.