java.lang.NoSuchMethodError: javax.net.ssl.SSLContext.getDefault()Ljavax/net/ssl/SSLContext;

amazon.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    AWS Developer Forums: aws-java-sdk-1.3.21 doesn't work on ...

    amazon.com | 9 months ago
    java.lang.NoSuchMethodError: javax.net.ssl.SSLContext.getDefault()Ljavax/net/ssl/SSLContext;
  2. 0

    GitHub comment 9#230853263

    GitHub | 11 months ago | stepkirk
    java.lang.NoSuchMethodError: org.apache.http.params.HttpConnectionParams.setSoKeepalive(Lorg/apache/http/params/HttpParams;Z)V
  3. 0

    Exception when trying to implement AWS SDK

    Stack Overflow | 2 years ago | Dan
    java.lang.NoSuchMethodError: org.apache.http.params.HttpConnectionParams.setSoKeepalive(Lorg/apache/http/params/HttpParams;Z)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 142#138893506

    GitHub | 2 years ago | erond
    java.lang.NoSuchMethodError: org.apache.http.params.HttpConnectionParams.setSoKeepalive(Lorg/apache/http/params/HttpParams;Z)V
  6. 0

    Unable to include AWS SDK with play 2.3.8

    GitHub | 2 years ago | puneetar
    play.api.UnexpectedException: Unexpected exception[NoSuchMethodError: org.apache.http.params.HttpConnectionParams.setSoKeepalive(Lorg/apache/http/params/HttpParams;Z)V]

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      javax.net.ssl.SSLContext.getDefault()Ljavax/net/ssl/SSLContext;

      at com.amazonaws.http.HttpClientFactory.createHttpClient()
    2. AWS SDK for Java - Core
      AmazonWebServiceClient.<init>
      1. com.amazonaws.http.HttpClientFactory.createHttpClient(HttpClientFactory.java:94)
      2. com.amazonaws.http.AmazonHttpClient.<init>(AmazonHttpClient.java:111)
      3. com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:60)
      3 frames
    3. AWS Java SDK for Amazon SQS
      AmazonSQSClient.<init>
      1. com.amazonaws.services.sqs.AmazonSQSClient.<init>(AmazonSQSClient.java:151)
      2. com.amazonaws.services.sqs.AmazonSQSClient.<init>(AmazonSQSClient.java:132)
      2 frames
    4. Unknown
      SimpleQueueServiceSample.main
      1. SimpleQueueServiceSample.main(SimpleQueueServiceSample.java:52)
      1 frame