sun.security.ssl.SSLSessionImpl not found

前端 未结 7 1070
花落未央
花落未央 2020-12-15 00:24

When I try to use okhttp or javax.ws.rs.client.Client the following error occur

java.lang.NoSuchMethodError: sun.security.

7条回答
  •  独厮守ぢ
    2020-12-15 00:38

    The changes in the security ciphers in java 1.8.0_161 have broken the SSL function in the underlying Grizzly server of Glassfish 5,0. The last working java version was 1.8.0_152 As of the moment of this writing i can confirm, that java 1.8.0_202 works with Glassfish 5.1 (now maintained by and downloadable from Eclipse.org) The included grizzly-npn-bootstrap is ver 1.9.0. There is no need to delete or alter anything.

提交回复
热议问题