Checkstyle and DetailAST

If you are running Checkstyle (for checking Java style) and you are stuck with this error:

[checkstyle] Running Checkstyle 6.11.2 on 2324 files
[checkstyle] Can't find/access AST Node

which is a cryptic error with no whatsoever Google result on how to fix it, stand back: I have the solution!

You probably have these packages installed in your system:

% rpm -qa | grep -i antlr

To fix your problem, just remove ant-antlr package from your system.

Leave a Reply

Your email address will not be published. Required fields are marked *