java.security.NoSuchAlgorithmException: SunTlsRsaPremasterSecret KeyGenerator not availab

Caused by: java.security.NoSuchAlgorithmException: SunTlsMasterSecret KeyGenerator not availab


问题原因,就是jvm没找到sunjce_provider.jar;于是把jre/lib/ext下的这个jar复制一份到%JAVA_HOME%/jre/lib

或者增加程序启动的时候的jar路径$JAVA_HOME/jre/lib/ext

你可能感兴趣的:(java.security.NoSuchAlgorithmException: SunTlsRsaPremasterSecret KeyGenerator not availab)