hibernate - java.lang.SecurityException: signer information does not match signer information of other classes in the same package -
hibernate - java.lang.SecurityException: signer information does not match signer information of other classes in the same package -
we have renewed security certificates in our java applications , have started receiving below mentioned exception:
java.lang.securityexception: class "org.hibernate.cfg.configuration"'s signer info not match signer info of other classes in same bundle @ java.lang.classloader.checkcerts(classloader.java:806) [rt.jar:1.6.0_37] @ java.lang.classloader.predefineclass(classloader.java:487) [rt.jar:1.6.0_37] @ java.lang.classloader.defineclasscond(classloader.java:625) [rt.jar:1.6.0_37] @ java.lang.classloader.defineclass(classloader.java:615) [rt.jar:1.6.0_37] @ org.jboss.modules.moduleclassloader.dodefineorloadclass(moduleclassloader.java:344)
we utilize ant tool build our code. found links on so describing similar issue. bur not sure how resolve issue related hibernate jars. please allow me know, if have idea.
might class org.hibernate.cfg.configuration
doesn't loaded jar you're expecting so.
had same problem when our programme loading utility classes javamail , turned out after switching on maven project configuration management, of our jetty dependencies including jar javax.mail.glassfish
, conflicting explicit mail service dependencies.
to find out jars loaded when launching java programme console, can utilize -verbose:class
alternative when starting java vm (as described here).
java hibernate certificate securityexception
Comments
Post a Comment