I have maven-checkstyle-plugin (v2.5) and configured maven-eclipse-plugin (v2.8).
Everything worked as expected, but as soon as I entered,
module name = "SuppressWarningsHolder" AND / OR module name = "SuppressWarningsFilter"
in my checkstyle-config.xml, I am having problems creating a project.
Here is what I get:
[ERROR] BUILD ERROR 1> [INFO] ------------------------------------------------------------------------ 1> [INFO] Failed during checkstyle configuration 1> 1>EXEC : Embedded error : cannot initialize module TreeWalker - Unable to instantiate SuppressWarningsHolder 1> Unable to instantiate SuppressWarningsHolderCheck
If I remove SuppressWarningsHolderCheck, I get the same error for SuppressWarningsFilter.
Any ideas?
thanks
source share