InvalidKeyException Illegal key size

后端 未结 5 1571
既然无缘
既然无缘 2020-11-22 09:06

I have a test which runs great on my development MacBook Pro, but fails to run in continuous integration TeamCity server.

The error is following:

jav         


        
5条回答
  •  伪装坚强ぢ
    2020-11-22 09:26

    I was facing the same issue for jdk 1.8.0_151-

    For this and above version, you do not need to download the jar files related to security.Because, local_policy.jar and US_export_policy.jar is already included in these versions under the path- \jre\lib\security\policy (JAVA_HOME refers to your current java installation folder) The only chng you need to make is in java.security file which is present in /jre/lib/security - uncomment the line - crypto.policy=unlimited

提交回复
热议问题