Re: checkstyle4nb produeces ClassCastExcpetion
"Thomas Zillinger" <[email protected]>
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
How could I prevent checktyle to use an antlr version of another plugin? If that would be the case? Or should I just take checkstyle.4.3.jar without antlr.jar? Tom -------- Original-Nachricht -------- Datum: Wed, 25 Apr 2007 21:28:15 +1000 Von: "Oliver Burn" <[email protected]> An: [email protected] Betreff: Re: [Checkstyle-user] checkstyle4nb produeces ClassCastExcpetion > Is there another version of ANTLR somewhere in the classpath. This is a > common cause of this type of error. > > On 4/25/07, Thomas Zillinger <[email protected]> wrote: > > > > Hi guys, I was wondering if you could help me on this matter. I know, > > checkstyle4nb is not a project hosted by checkstyle. However, but maybe > > someone knows the answer anyway. > > > > The problem is, that checkstyle4nb produces following weird error when > > processing a file using checker.process(File[]): > > "java.lang.ClassCastException: antlr.CommonToken cannot be cast to > > antlr.Token" > > in line 0 of the file. > > > > I'm using checkstyle-all-4.3.jar as the only lib I added. > > > > Anyone got an idea? > > > > -- > > "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... > > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Checkstyle-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > > -- Psalm 111,2: "Groß sind die Werke des Herrn; wer sie erforscht, der hat Freude daran." "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/