Maven 1.x Antlr Plugin

Checkstyle Bug - "Got an exception - java.lang.NoSuchFieldError: tokenTypeToASTClassMap"

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

I am using the same checkstyle.xml as Maven.

I am getting 100's of identical errors - from Checkstyle itself - No actual useful information about style-errors in my code.

"Got an exception - java.lang.NoSuchFieldError: tokenTypeToASTClassMap "
(it says line:0)

Activity

Hide
Vincent Massol added a comment -

That's because Checkstyle requires Antlr 2.7.2 (and NOT Antlr 2.7.1). I think it had to do with the Antlr plugin in Maven which I have updated to use Antlr 2.7.2. Should be ok now.

Show
Vincent Massol added a comment - That's because Checkstyle requires Antlr 2.7.2 (and NOT Antlr 2.7.1). I think it had to do with the Antlr plugin in Maven which I have updated to use Antlr 2.7.2. Should be ok now.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: