Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows
-
Number of attachments :
Description
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.
Issue Links
| This issue is related to: | ||||
| MCHECKSTYLE-111 | More information on issue: "Got an exception - java.lang.RuntimeException: Unable to get class information for [exception]" |
|
|
|
| MCHECKSTYLE-54 | checkstyle:check does not see provided scope dependencies |
|
|
|
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>