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

9 comments
Comment actions Permalink

any idea???

0
Comment actions Permalink

Hi Hede,

It looks like there is a problem with third-party checkstyle plugin you use.

Regards, Denis

0
Comment actions Permalink

You should report the problem to plugin's author.

0
Comment actions Permalink

To use checkstyle, is there anything that i should do after i installed checkstyle-IDEA through idea->settings->plugin->available

0
Comment actions Permalink

hedehodo_ wrote:
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.

0
Comment actions Permalink

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)"


0
Comment actions Permalink

JetStyle plugin page shows that it's supported by third-party developers, not IDEA team. You need to report the problem to plugin authors.

0

Please sign in to leave a comment.