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
  • Description:
    Hide

    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)

    Show
    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 - 13/Jun/03 12:06 AM

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 - 13/Jun/03 12:06 AM 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

Dates

  • Created:
    12/Jun/03 4:58 PM
    Updated:
    16/Nov/03 8:43 AM
    Resolved:
    13/Jun/03 12:06 AM