我在 Juno Eclipse 发行版中使用 eclipse checkstyle 插件。每当检查代码是否存在 checkstyle 错误时,我都会收到以下错误:
cannot initialize module TreeWalker - Unable to instantiate DoubleCheckedLocking
有谁知道如何解决这个问题?是插件兼容性问题还是其他问题?
最佳答案
DoubleCheckedLocking 检查已在 Checkstyle 5.6 中删除,必须从 Checkstyle 配置中手动删除。
另见:http://sourceforge.net/tracker/index.php?func=detail&aid=3571442&group_id=29721&atid=397078
关于eclipse - Checkstyle Eclipse 插件不起作用,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/12795935/