InvalidKeyException Illegal key size

后端 未结 5 1663
既然无缘
既然无缘 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:20

    Make sure you know the path to JAVA_HOME that your IDE uses. In order to copy to the correct path.

    In my case I use IntelliJ: /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/lib/security

    Instead of when i show the $JAVA_HOME in the console. /Users/myuser/.sdkman/candidates/java/current/jre/lib/security

提交回复
热议问题