checkstyle j2ee configuration 关注
hi hi i want to check j2ee, i got this error message "Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module TreeWalker - Unable to instantiate j2ee.EntityBean"
also in checkstyle output window i got this "The module j2ee.EntityBean could not be loaded. Please check you have added any prerequisites to the classpath."
i am using intellij idea 8.0.1
my conf.xml is:
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
...........
...........
<module name="TreeWalker">
<module name="j2ee.EntityBean"/>
<module name="j2ee.FinalStatic"/>
<module name="j2ee.LocalHomeInterface"/>
<module name="j2ee.LocalInterface"/>
<module name="j2ee.MessageBean"/>
<module name="j2ee.RemoteHomeInterface"/>
<module name="j2ee.RemoteInterface"/>
<module name="j2ee.SessionBean"/>
<module name="j2ee.ThisParameter"/>
<module name="j2ee.ThisReturn"/>
</module>
...........
...........
what can be the problem? Any suggestions
请先登录再写评论。
any idea???
Hi Hede,
It looks like there is a problem with third-party checkstyle plugin you use.
Regards, Denis
......
You should report the problem to plugin's author.
To use checkstyle, is there anything that i should do after i installed checkstyle-IDEA through idea->settings->plugin->available
That should be enough. However, we see that there are the problems with plugin.
I see that there is more than one third-party checkstyle plugin for IDEA (go to this page, type 'checkstyle' in 'Search' field and submit the request). Try to use another plugin.
i tried jetstyle but now i got this error "Checkstyle error (com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module TreeWalker - Unable to instantiate j2ee.EntityBean)"
??
JetStyle plugin page shows that it's supported by third-party developers, not IDEA team. You need to report the problem to plugin authors.