[jboss-user] [Beginners Corner] - javax.crypto.Mac

rstaveley do-not-reply at jboss.com
Fri Aug 15 04:14:29 EDT 2008

If I try to get an instance of a javax.crypto.Mac, usingjavax.crypto.Mac mac = javax.crypto.Mac.getInstance("HmacSHA1");, I get a NoClassDefFoundError.

I've looked at the JRE (Sun, and see jce.jar in the lib directory and sure enough javax.crypto.Mac.class is in that jar, so I wonder why it isn't loading in JBoss and how to make it do so.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170705#4170705

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170705

More information about the jboss-user mailing list