[
https://jira.codehaus.org/browse/MCHECKSTYLE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg closed MCHECKSTYLE-89.
------------------------------------
Resolution: Not A Bug
This is not a bug of the maven-checkstyle-plugin but might be a problem of
checkstyle itself.
You should be able to work around this by adding the dependency which contains
the missing class to your <plugin><dependencies>
> java.lang.RuntimeException: Unable to get class information for XXXException
> ----------------------------------------------------------------------------
>
> Key: MCHECKSTYLE-89
> URL: https://jira.codehaus.org/browse/MCHECKSTYLE-89
> Project: Maven Checkstyle Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows
> Reporter: jreeman
> Assignee: Mark Struberg
>
> When I execute mvn checkstyle:chekstyle I have the violations
> java.lang.RuntimeException: Unable to get class information for
> "ServletException".
> The declaration of the ServletException in the javadoc comment is the reasons
> of that violations.
> In my pom, I tried to change javax.servlet scope to compile but the problem
> remains.
> I don't remember exactly in which case, but sometimes I have the same
> violation for local exceptions.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)