Problems with HMAC when switching to Java 6
- by Pablo Fernandez
We have recently switched to java6 and it's mandatory in the project.
One of our apps that used to work is failing, with this stacktrace (relevant part)
java.lang.NoClassDefFoundError: Could not initialize class com.apple.crypto.provider.HmacSHA1
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
…