java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurityManager
javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2543)
java
This happened to me when I was trying to connect to a DB with IntelliJ 14.
I had played around with my jre\lib\security\local_policy.jar and jre\lib\security\US_export_policy.jar files
I fixed this by: