org.apache.shiro.crypto.CryptoException: Unable to acquire a Java JCA Cipher instance using javax.cr

这个错误,网上找了很久,有说没加cookie密钥,导致浏览器每次启动都重复生成的,清除cookie的,试过了都没用。最后发现是版本的问题,1.4.2版本有问题org.apache.shiro.crypto.CryptoException: Unable to acquire a Java JCA Cipher instance using javax.cr

 我给换成1.7.1解决org.apache.shiro.crypto.CryptoException: Unable to acquire a Java JCA Cipher instance using javax.cr

 最后要记得看下浏览器的cookie设置,是否允许cookie

org.apache.shiro.crypto.CryptoException: Unable to acquire a Java JCA Cipher instance using javax.cr

 

上一篇:AES_GCM加解密代码实现


下一篇:FPGA/IC笔试——AMD