We have renewed security certificates in our java applications and suddenly we have started receiving below mentioned exception:
java.lang.SecurityException: cla
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