I\'m receving the following error on log file.
(java.lang.SecurityException: class \"com.adventnet.snmp.snmp2.SecurityModelTable\"\'s signer inform
check pom dependency tree for same packages of different versions.
I had this issue with itext-2.1.7
including old bouncycastle's bcpkix
that was included in later version
elsewhere.
Use this pattern
:
<dependency>
package X
<exclusions>
<exclusion>
old package Y
</exclusion>
</exclusions>
</dependency>
<dependency>
latest package Y
</dependency>
Update: To check the dependency tree details of package_Y you can use mvn dependency:tree -Dverbose -Dincludes=package_Y
. For more info check maven documentation on resolving dependency tree problems. Also the Eclipse have quite nice dependency tree viewer.