Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    TLS v1.2 wasn't implemented until java 7. Try upgrading your Java version or if you're stuck in java 5 or 6 and REALLY need to use TLS v1.2 try using BouncyCastle: https://goo.gl/Tg3jd0

  2. ,
    Expert tip

    This might also be because you're not initializing java the right way. Try to initialize with -server, and that might turn TLSv1.2 on!

Solutions on the web

via Stack Overflow by Wenburg Yan
, 1 year ago
TLS SSLContext not available
via Stack Overflow by Phillip
, 9 months ago
class configured for SSLContext: sun.security.ssl.SSLContextImpl$TLSContext not a SSLContext
org.apache.http.ssl.SSLInitializationException: TLS SSLContext not available at org.apache.http.ssl.SSLContexts.createDefault(SSLContexts.java:58) at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:966) at org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:58) at yan.javatips.closure.HttpTest2.main(HttpTest2.java:26)Caused by: java.security.NoSuchAlgorithmException: TLS SSLContext not available at sun.security.jca.GetInstance.getInstance(GetInstance.java:159) at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156) at org.apache.http.ssl.SSLContexts.createDefault(SSLContexts.java:54) ... 3 more