Problems with HMAC when switching to Java 6
Posted
by Pablo Fernandez
on Stack Overflow
See other posts from Stack Overflow
or by Pablo Fernandez
Published on 2010-05-03T21:09:45Z
Indexed on
2010/05/03
23:38 UTC
Read the original article
Hit count: 367
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)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
java.lang.Class.newInstance0(Class.java:355)
java.lang.Class.newInstance(Class.java:308)
java.security.Provider$Service.newInstance(Provider.java:1221)
javax.crypto.Mac.a(DashoA13*..)
javax.crypto.Mac.init(DashoA13*..)
Has anyone had this problem before?
Thanks a lot
© Stack Overflow or respective owner