Caused by: java.lang.RuntimeException: Could not generate DH keypair

After upgrading the jdk, I was able to upgrade to 1.8.0_171 and it was no problem.


If it still doesn't work, try the following steps:

Put bcprov-ext-jdk15on-154.jar and bcprov-jdk15on-154.jar in the dependency jar


jar download address

https://pan.baidu.com/s/1fmtdJL_lzNnMyY57v3tp4A

https://pan.baidu.com/s/1SQQ4lI_Q9CvIartHGeJERw

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325649888&siteId=291194637