Caused by: java.security.InvalidKeyException: Illegal key size
Posted 天河一粟
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Caused by: java.security.InvalidKeyException: Illegal key size相关的知识,希望对你有一定的参考价值。
jre报如下异常信息
Caused by: java.security.InvalidKeyException: Illegal key size
解决方式
- 下载并解压
java7 下载 UnlimitedJCEPolicyJDK7.zip
java8 下载 jce_policy-8.zip - 把解压后得到的
local_policy.jar
和US_export_policy.jar
复制替换到$JAVA_HOME/jre/lib/security
目录下 - 重启idea
以上是关于Caused by: java.security.InvalidKeyException: Illegal key size的主要内容,如果未能解决你的问题,请参考以下文章
Caused by: java.security.InvalidKeyException: Illegal key size
Caused by: java.security.InvalidKeyException: Illegal key size or default parameters
Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsEx
Mybatis-Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of th
Mybatis-Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of th
Mybatis-Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of th