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

后端 未结 2 1696
耶瑟儿~
耶瑟儿~ 2021-01-24 17:42

We have renewed security certificates in our java applications and suddenly we have started receiving below mentioned exception:

java.lang.SecurityException: cla         


        
相关标签:
2条回答
  • 2021-01-24 17:53

    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).

    0 讨论(0)
  • 2021-01-24 17:53

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

    0 讨论(0)
提交回复
热议问题