Hi Dennis,
Thank you for your suggestion. I haven't done that yet.
It also doesn't work with the command line without using maven:
java -classpath "checkstyle-5.3-all.jar;C:\Documents and
Settings\beyondseeker\.m2\repository\com\objectfanatics\checkstyle\checks\0.0.1-SNAPSHOT\checks-0.0.1-SNAPSHOT.jar"
com.puppycrawl.tools.checkstyle.Main -f xml -c checkstyle.xml -r
src/main/java
Unable to create Checker: cannot initialize module TreeWalker - Unable
to instantiate MethodLimit
com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot
initialize module TreeWalker - Unable to instantiate MethodLimit
at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:178)
at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:184)
at com.puppycrawl.tools.checkstyle.Main.createChecker(Main.java:143)
at com.puppycrawl.tools.checkstyle.Main.main(Main.java:120)
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException:
Unable to instantiate MethodLimit
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObjectFactory.java:155)
at
com.puppycrawl.tools.checkstyle.TreeWalker.setupChild(TreeWalker.java:161)
at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:184)
at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:157)
... 3 more
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException:
Unable to instantiate MethodLimitCheck
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.doMakeObject(PackageObjectFactory.java:98)
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObjectFactory.java:152)
... 6 more
Regards,
Makoto Sato
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]