Checkstyle Eclipse plugin doesn't work

后端 未结 4 1915
长发绾君心
长发绾君心 2021-02-04 23:45

I\'m using eclipse checkstyle plugin with Juno Eclipse distribution. Anytime the code is checked for checkstyle error I get the following error:

cannot initiali         


        
4条回答
  •  有刺的猬
    2021-02-04 23:57

    Open the Checkstyle preferences, create your own Check Configuration, go into your own check configuration, find the TreeWalker module, click it and then un-check the DoubleCheckedLocking. As simple as that.

    enter image description here

提交回复
热议问题