SunTlsRsaPremasterSecret KeyGenerator not available

前端 未结 8 1818
逝去的感伤
逝去的感伤 2020-11-30 14:00

I encountered an error when my application tries to load a RSA Algorithm provider class from JAVA. The exception stack is as follow:

javax.jms.JMSException:          


        
8条回答
  •  天命终不由人
    2020-11-30 14:19

    I also had this issue, noticed that the problem was in my Eclipse configuration.

    Window > Preferences > Java > Installed JREs > jdk8_64bit > Edit...
    

    The path of my sunjce_provider.jar was pointing to jdk8_64bit\lib\ext\sunjce.provider.jar. It should point to the JRE's equivalent in jdk8_64bit\jre\lib\ext\sunjce.provider.jar.

提交回复
热议问题