Java-Checkstyle-冗余抛出

Java-Checkstyle-冗余抛出,java,checkstyle,Java,Checkstyle,我正在使用STS并安装checkstyle插件。使用此URL安装新软件 对于我的Java项目,我有自己的checkstyle规则。每当我更改任何代码并保存时,它都会为我显示以下错误 Errors occurred during the build. Errors running builder 'Checkstyle Builder' on project 'myproject'. cannot initialize module TreeWalker - Unable to instanti

我正在使用STS并安装checkstyle插件。使用此URL安装新软件

对于我的Java项目,我有自己的checkstyle规则。每当我更改任何代码并保存时,它都会为我显示以下错误

Errors occurred during the build.
Errors running builder 'Checkstyle Builder' on project 'myproject'.
cannot initialize module TreeWalker - Unable to instantiate RedundantThrows
cannot initialize module TreeWalker - Unable to instantiate RedundantThrows
cannot initialize module TreeWalker - Unable to instantiate RedundantThrows
cannot initialize module TreeWalker - Unable to instantiate RedundantThrows
这是我对冗余抛出的检查样式规则

<module name="RedundantThrows">
            <property name="logLoadErrors" value="true" />
            <property name="suppressLoadErrors" value="true" />
        </module>

如何解决这个问题


谢谢。

RedundantThrows在6.2版中被删除(请参阅)

我在IntelliJ上也经历了同样的经历。我所做的是切换到了checkstyle插件的旧版本,可以在这里找到:

我对redundantThrows模块进行了注释。但它再次显示错误。嗨,这是我的STS问题。我移除了
redundantThrows
模块,然后关闭并打开了STS。现在它工作得很好,发行说明中说它没有更换就被移除了。有没有办法得到同样的支票@Duncan我们在更新eclipse和checkstyle插件时偶然发现了这个问题。我们在开发过程中已经有了足够的遗留软件…用于新的商业广告:转到CheckStyleXML并注释掉标记