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







目录
相关文章
|
6月前
|
Kubernetes 容器
error: no configuration has been provided, try setting KUBERNET
error: no configuration has been provided, try setting KUBERNET
66 0
|
6月前
|
设计模式 人工智能 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
242 1
|
6月前
|
安全 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
|
6月前
|
机器学习/深度学习 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
230 0
|
IDE Java 程序员
Eclipse 安装插件报错:An error occurred while collecting items to be installed session context was...解决方法汇总
Eclipse 安装插件报错:An error occurred while collecting items to be installed session context was...解决方法汇总
1022 0
Eclipse 安装插件报错:An error occurred while collecting items to be installed session context was...解决方法汇总
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
314 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
121 0
Gradle sync failed: Unsupported method: NativeArtifact.getSourceFolders().
Gradle sync failed: Unsupported method: NativeArtifact.getSourceFolders().
100 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 问题解决
184 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