java.lang.SecurityException: signer information does not match signer information of other classes in the same package

徘徊边缘 提交于 2019-12-02 08:22:07
Radu

Might be that your class org.hibernate.cfg.Configuration doesn't get loaded from the jar that you're expecting to do so.

Had the same problem when our program was loading some utility classes for JavaMail and it turned out that after switching over to Maven for project configuration management, some of our Jetty dependencies were including the jar javax.mail.glassfish, thus conflicting with the explicit mail dependencies.

To find out which jars are actually loaded when launching the java program from console, you can use the -verbose:class option when starting the Java VM (as described here).

I had an additional jar file in WEB-INF/lib/wsdl4j.jar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!