I'm facing a SecurityException at runtime:
java.lang.SecurityException: class "util.OpenNItoDTW"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:952)
where util.OpenNItoDTW is my own class which is using a 3rd party jar.
According to this the jar's have to be signed using the same certificate.
But neither of the jar is signed, checked it using jdk's jarsigner -verify
.
What exactly is causing this problem?