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







目录
相关文章
|
4月前
Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
27 1
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
|
4月前
|
设计模式 人工智能 Java
Error: JavaFX runtime components are missing, and are required to run this application with Gradle e
Error: JavaFX runtime components are missing, and are required to run this application with Gradle e
203 1
|
3月前
|
Linux Go C语言
【ERROR】chaincode install failed with status: 500 - failed to invoke backing implementation xxx
【ERROR】chaincode install failed with status: 500 - failed to invoke backing implementation xxx
53 0
|
4月前
|
安全 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
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
116 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 问题解决
176 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
Module build failed: ReferenceError: Unknown plugin “import” specified in “base” at 0 Ask Question
https://stackoverflow.com/questions/42731610/module-build-failed-referenceerror-unknown-plugin-import-specified-in-base ...
3980 0
打包错误--Error:A problem was found with the configuration of task ':app:packageRelease'.
解决办法: app目录下的build.gradle文件 将 shrinkResources 的值改为 false 或者直接去掉   shrinkResources true  表示 :打包的时候会去删除一些不必要 的文件   ------------------------------------- 问题是以往打包一直没出过这样的问题,根本原因不知。
1585 0