您的位置:首页 > 编程语言 > Java开发

eclipse problem shooting

2014-08-07 16:51 253 查看
1. When open a resource in the eclipse/yoxos, it will popup an error dialog saying:

cannot initialize module TreeWalker - Unable to instantiate DoubleCheckedLocking


Solutions:

1) go to: preference --> checkstyle to find the element:Treewalker, uncheck the checkbox:"DoubleCheckedLocking".



2) Sometimes, with the above solution, you can't uncheck the checkbox:"DoubleCheckedLocking".

Another solution, find the checkstyle file and remove the code:

<module name="DoubleCheckedLocking">
<property name="severity" value="error"/>
</module>
3) possible solution:

Since it is caused by old version of the checkstyle plugin, maybe upgrading the plugin can resolve the problem.

Haven't tried yet.

related url:
http://stackoverflow.com/questions/12795935/checkstyle-eclipse-plugin-doesnt-work
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  eclipse checkstyle