标签: sevntu-checkstyle

为eclipse安装检查样式插件时出错

我通过更新管理器为我的eclipuse安装checkstyle插件时出现以下错误

无法完成安装,因为找不到一个或多个必需的项目.正在安装的软件:EclipseCS SevNTU插件功能1.5.0(com.github.sevntu.checkstyle.checks.feature.feature.group 1.5.0)缺少要求:Sevntu eclipse-cs Extension Plugin 1.5.0(com.github.sevntu. checkstyle.checks 1.5.0)需要'bundle net.sf.eclipsecs.core 0.0.0'但无法找到它无法满足依赖性:来自:EclipseCS SevNTU插件功能1.5.0(com.github.sevntu.checkstyle.checks .feature.feature.group 1.5.0)收件人:com.github.sevntu.checkstyle.checks [1.5.0]

我正在使用以下更新站点.

http://eclipse-cs.sf.net/update/

我已经搜索了很多,但找不到合适的解决方案.请帮忙.提前致谢

eclipse checkstyle sevntu-checkstyle

9
推荐指数
1
解决办法
1万
查看次数

Checkstyle安装错误Intellij Idea

我正在尝试安装Checkstyle,包括IntelliJ IDEA中的SevNTU Checkstyle扩展

https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/How-to-use-SevNTU-Checkstyle-in-Intellij-IDEA

但是,当我添加配置文件sevntu-checkstyle-default-configuration.xml时出现错误:

org.infernus.idea.checkstyle.exception.CheckStylePluginException: <html><b>The Checkstyle rules file could not be loaded.</b><br>
    cannot initialize module TreeWalker - Unable to instantiate com.github.sevntu.checkstyle.checks.design.VariableDeclarationUsageDistanceCheck<br>
    The file has been blacklisted for 60s.</html>
at org.infernus.idea.checkstyle.checker.CheckerFactory.blacklistAndShowMessage(CheckerFactory.java:183)
at org.infernus.idea.checkstyle.checker.CheckerFactory.createChecker(CheckerFactory.java:139)
at org.infernus.idea.checkstyle.checker.CheckerFactory.getOrCreateCachedChecker(CheckerFactory.java:84)
at org.infernus.idea.checkstyle.checker.CheckerFactory.checker(CheckerFactory.java:63)
at org.infernus.idea.checkstyle.checker.CheckerFactory.verify(CheckerFactory.java:44)
at org.infernus.idea.checkstyle.ui.LocationDialogue.attemptLoadOfFile(LocationDialogue.java:198)
at org.infernus.idea.checkstyle.ui.LocationDialogue.access$800(LocationDialogue.java:24)
at org.infernus.idea.checkstyle.ui.LocationDialogue$NextAction.actionPerformed(LocationDialogue.java:241)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278) …
Run Code Online (Sandbox Code Playgroud)

java plugins intellij-idea checkstyle sevntu-checkstyle

5
推荐指数
1
解决办法
3300
查看次数