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

不了解CheckStyle的话请先自行百度。

更换了新的Eclipse,在使用CheckStyle检查代码的时候发现总是报错如下:

Errors occurred during the build.

Errors running builder ‘Checkstyle Builder‘ on project ‘AAA‘.

Fileset from project "AAA" has no valid check configuration.

……

解决办法:

1、首先确认你使用的CheckStyle检查规则是什么。

Eclipse - windows - preferences - CheckStyle 标签下查看你的默认检查规则,我的在Global Check Configurations下面默认规则是 “Rule01”。上述也可以在项目属性的CheckStyle标签下看到。

2、在项目中找到CheckStyle配置文件。

Ctrl + Shift + R 找到 .checkstyle 配置文件,在fileset 标签下找到 “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>

如果check-config-name属性值对应的不是步骤1中配置的规则,则会报错。

PS:如果配置了多个关联的工程,每个工程下.checkstyle配置文件都需要检查一遍。

3、重新刷新工作区,错误消失。

版权声明:本文为博主原创文章,未经博主允许不得转载。

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

时间: 2025-01-12 16:52:46

Errors occurred during the build. Errors running builder 'Checkstyle Builder' on project的相关文章

Myeclipse错误:Errors occurred during the build. Errors running builder &#39;DeploymentBuilder&#39; on project ...解决方法

一.为什么会发生这类错误 在编写项目的时候,还没等部署好,就关闭了了myeclipse 10,会出现这种问题. 当项目不是由myeclipse创建的,需要检查.project 文件,并且添加com.genuitec.eclipse.j2eedt.core.webnature时,会出现这种问题. 二.解决方案 关闭MyEclipse工作区间(就是你出错的那个工作区间). 删除工作空间下的“/.metadata/.plugins/org.eclipse.core.runtime/.settings/

Errors occurred during the build. Errors occurred during the build. Errors running builder &#39;JavaScript Validator&#39; on XXX

选择项目--右键Properties--Builders--如果有则取消第一项“JavaScript Validator”的勾. http://blog.csdn.net/error_case/article/details/21369337 Errors occurred during the build. Errors occurred during the build. Errors running builder 'JavaScript Validator' on XXX

Errors occurred during the build. Errors running builder &amp;#39;JavaScript Validator&amp;#39; on

eclipse又一次编译时候就会报错Errors occurred during the build. Errors running builder 'JavaScript Validator' on.如图: 解决的方法是:项目右键--properties---builders---javascript validator 如图: Errors occurred during the build. Errors running builder 'JavaScript Validator' on

Errors occurred during the build. Errors running builder &#39;JavaScript Validator&#39; on

eclipse重新编译时候就会报错Errors occurred during the build. Errors running builder 'JavaScript Validator' on.如图: 解决办法是:项目右键--properties---builders---javascript validator 如图: Errors occurred during the build. Errors running builder 'JavaScript Validator' on

Errors occurred during the build. Errors running builder &amp;#39;Integrated External Tool Builder&amp;#39; on proje

Errors occurred during the build. Errors running builder 'Integrated External Tool Builder' on project 'xinghe-base'.The builder launch configuration could not be found.The builder launch configuration could not be found.Errors running builder 'Integ

Errors occurred during the build. Errors running builder &#39;DeploymentBuilder&#39; on project

本文转自:http://www.phperz.com/article/14/1205/39544.html 本文向大家讲解了Myeclipse错误:Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project ...解决方法 ,感兴趣的同学参考下. 问题描述: Errors occurred during the build. Errors running builder 'Depl

Errors occurred during the build. Errors running builder &#39;DeploymentBuilder&#39; on project &#39;项目名&#39;

问题描述: Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project 'myf'. java.lang.NullPointerException 问题分析: 此问题一般发生在Myeclipse 保存文件并自动部署时候.本人在写项目的时候,还没等部署好,关闭了了myeclipse 10,结果出现了这种情况.有一种产生此错误的原因是因为此项目不不是由myeclipse创建的,需要检查

Myeclipse错误:Errors occurred during the build. Errors running builder &#39;DeploymentBuilder&#39; on project

问题描述: 今天启动eclipse的时候突然出现了问题:Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project 'drp1.8'. ja. 原因分析: 此问题一般发生在Myeclipse 保存文件并自动部署时候.在写项目的时候,还没等部署好,关闭了了myeclipse,结果出现了这种情况.有一种产生此错误的原因是因为此项目不不是由myeclipse创建的,需要检查.projec

myEclipse异常解决:Errors occurred during the build. Errors running builder Mule 3 hot deployment

选择一个项目—-右键Properties—-Builders—-取消 “JavaScript Validator”  和 Mule 3 hot deployment 的勾就OK了 根据具体异常,勾选. 有时候出现很奇葩的异常哦,这种方法是可以解决一下小问题的哦