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

简介: <div style="font-family:微软雅黑; font-size:14px; line-height:21px"> <div style="background-color:inherit">每次保存项目时总是报错:Errors occurred during the build.Errors running builder 'Checkstyle Builder' on 
每次保存项目时总是报错:Errors occurred during the build.Errors running builder 'Checkstyle Builder' on project 。CheckStyle也无法运行。

问题原因:
    当前项目CheckStyle配置文件的 check-config-name和eclipse所安装的CheckStyle的 名字不一样

解决方案:
  1. 全局搜索【Ctrl+H--》File Search】“check-config-name”,复制其value,此处是checkStyle_517na
  2. Windows--Preferences--CheckStyle,选中你所安装的CheckStyle,点击Properties;
  3. 修改其name为刚刚在配置文件复制的value。
  4. 在Used in projects里看到你的项目就不会报错了(可能需要重启Eclipse)。







目录
相关文章
|
Java
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
1148 0
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
|
8月前
|
缓存 IDE Linux
Internal error. Please report to https://jb.gg/ide/critical-startup-errors
Internal error. Please report to https://jb.gg/ide/critical-startup-errors
165 0
|
8月前
|
安全 Java 应用服务中间件
A configuration error occurred during startup.Please verify the preference field with the prompt: To
A configuration error occurred during startup.Please verify the preference field with the prompt: To
|
8月前
|
机器学习/深度学习 Java Android开发
记录一个Flutter运行的异常FAILURE: Build failed with an exception. What went wrong: A problem occurred config
记录一个Flutter运行的异常FAILURE: Build failed with an exception. What went wrong: A problem occurred config
243 0
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
125 0
mvn Failed during checkstyle execution: There are errors reported by Checkstyle 6.2
mvn Failed during checkstyle execution: There are errors reported by Checkstyle 6.2
157 0
Gradle sync failed: Unsupported method: NativeArtifact.getSourceFolders().
Gradle sync failed: Unsupported method: NativeArtifact.getSourceFolders().
110 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
193 0
|
Android开发
A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkA
A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkA
A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkA