我正在执行项目--干净...在Eclipse Mars中,得到以下错误
Errors occurred during the build.
Errors running builder 'Checkstyle Builder' on project 'MyProject'.
cannot initialize module TreeWalker - Unable to instantiate
'RedundantThrows' class, it is also not possible to i
在执行命令mvn checkstyle:checkstyle时,我得到了以下错误
An error has occurred in Checkstyle report generation.
...
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module TreeWalker - Unable to instantiate GenericIllegalRegexp
at com.puppycrawl.tools.checkstyle.Checker.setu
我已经将Gradle构建脚本配置为使用checkstyle和添加的sventu checkstyle检查,但是当我执行checkstyleMain任务时,构建失败并显示以下错误:
* What went wrong:
Execution failed for task ':checkstyleMain'.
> Unable to create a Checker: cannot initialize module TreeWalker - Unable to instantiate AvoidConstantAsFirstOperandInConditionCheck
即
我和maven搞错了。它在VS代码中添加了一个依赖项,并关闭了签入样式。我尝试重新启动vs代码,因为它可能是一个bug,但显然不是。调试错误消息:
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM c:\Users\wikim\Desktop\Java\argbot\pom.xml: Duplicated tag: 'configuration' (position:
我通过命令行上的mvn构建我的项目。
每当发生checkStyle错误时,我都会看到这种类型的输出:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-
plugin:2.4:checkstyle (default) on project myProject-server:
An error has occurred in Checkstyle report generation.
There are 2 checkstyle errors. -> [Help 1]
如何找出导致这些Che
我想为写一张自定义支票。Checkstyle成功地使用了他的standart模块,但是当我尝试用我的自定义模块运行它时,我得到了一个错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkstyle'.
> Unable to create Root Module: config {D:\Users\...\config\checkstyle\checkstyle.xml}, classpath {null}.
* Try:
在尝试使用我们自己的checkstyle_rules.xml甚至使用sun发布的checkstyle_rules创建新的质量配置文件时,我得到了如下错误:
For sun检查样式规则xml
Rule template can't be activated on a Quality profile:
checkstyle:com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
For Google checkstyle规则xml
The definition of the profile 'null&
我刚刚在IntelliJ的磁盘上安装了checkstyle插件,方法是导航到jar,该jar位于下载它的目录中。当我重新启动IntelliJ以使插件生效时,我得到以下错误:
2:50 PM Unexpected Exception Caught
The scan failed due to an exception: Could not determine plugin directory
org.infernus.idea.checkstyle.exception.CheckStylePluginException: Could