Problem Running Checkstyle-5.0-beta2
Tim Visher <[email protected]> Mon, 23 Feb 2009 17:50:24 -0500
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Everyone,
First time poster here. /me waves.
I'm trying to get checkstyle up and running for our build script and
I'm running into an issue both from ant and from `java -jar`
execution.
Following is the stack trace spit out by the jar:
$ java -jar checkstyle.jar -c sun_checks.xml -r
../../implementation/src/main/java
Unable to create Checker: cannot initialize module PackageHtml -
Unable to instantiate PackageHtml
com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot
initialize module PackageHtml - Unable to instantiate PackageHtml
at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:171)
at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:207)
at com.puppycrawl.tools.checkstyle.Main.createChecker(Main.java:136)
at com.puppycrawl.tools.checkstyle.Main.main(Main.java:113)
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException:
Unable to instantiate PackageHtml
at com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObjectFactory.java:156)
at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:146)
... 3 more
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException:
Unable to instantiate PackageHtmlCheck
at com.puppycrawl.tools.checkstyle.PackageObjectFactory.doMakeObject(PackageObjectFactory.java:99)
at com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObjectFactory.java:153)
... 4 more
You'll notice of course that I modified the name of the jar file but
other than that I don't think I'm doing anything wrong. I'm executing
it from the exploded archive directory.
Any help would be greatly appreciated. Thanks in advance!
--
In Christ,
Timmy V.
http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H