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)。







目录
相关文章
|
7月前
Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
45 1
|
7月前
|
安全 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
|
7月前
|
机器学习/深度学习 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
233 0
|
Java Maven 微服务
To see the full stack trace of the errors, re-run Maven with the -e switch.
问题描述 微服务项目中其它模块不能依赖common模块中的依赖 而common中是有依赖的
936 1
To see the full stack trace of the errors, re-run Maven with the -e switch.
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
123 0
Gradle sync failed: Unsupported method: NativeArtifact.getSourceFolders().
Gradle sync failed: Unsupported method: NativeArtifact.getSourceFolders().
101 0
C compiler test failed.
C compiler test failed.
170 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 问题解决
187 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