[ http://jira.codehaus.org/browse/MCHECKSTYLE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_127943 ]
xx commented on MCHECKSTYLE-89: ------------------------------- I declared plugin in the pom.xml without version as in the instructions like this : <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> </plugins> </reporting> > java.lang.RuntimeException: Unable to get class information for XXXException > ---------------------------------------------------------------------------- > > Key: MCHECKSTYLE-89 > URL: http://jira.codehaus.org/browse/MCHECKSTYLE-89 > Project: Maven 2.x Checkstyle Plugin > Issue Type: Bug > Affects Versions: 2.1 > Environment: Windows > Reporter: xx > > 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 is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira