Checkstyle Eclipse plugin doesn't work
问题 I'm using eclipse checkstyle plugin with Juno Eclipse distribution. Anytime the code is checked for checkstyle error I get the following error: cannot initialize module TreeWalker - Unable to instantiate DoubleCheckedLocking Does anybody know how to fix this problem? Is it a plugin compatibility issue or something else? 回答1: The DoubleCheckedLocking check has been removed in Checkstyle 5.6 and must be manually removed from your Checkstyle configuration. See also: http://sourceforge.net