java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V

GitHub | philippepouliot | 4 months ago
  1. 0

    SSL Error

    GitHub | 4 months ago | philippepouliot
    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V
  2. 0

    GitHub comment 135#235281188

    GitHub | 4 months ago | miha93
    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V
  3. 0

    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory

    GitHub | 3 months ago | cfrancocapo
    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    maven dependency conflict java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory error when creating aws S3 client

    Stack Overflow | 3 weeks ago | dedeepya
    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V
  6. 0

    What version of httpclient is compatible with the Amazon SDK v 1.11.5?

    Stack Overflow | 6 months ago | Dave
    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V

    10 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

      org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V

      at com.amazonaws.http.conn.ssl.SdkTLSSocketFactory.<init>()
    2. AWS SDK for Java - Core
      SdkTLSSocketFactory.<init>
      1. com.amazonaws.http.conn.ssl.SdkTLSSocketFactory.<init>(SdkTLSSocketFactory.java:56)
      1 frame
    3. com.amazonaws.http
      ApacheHttpClientFactory.create
      1. com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.getPreferredSocketFactory(ApacheConnectionManagerFactory.java:91)
      2. com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.create(ApacheConnectionManagerFactory.java:65)
      3. com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.create(ApacheConnectionManagerFactory.java:58)
      4. com.amazonaws.http.apache.client.impl.ApacheHttpClientFactory.create(ApacheHttpClientFactory.java:51)
      5. com.amazonaws.http.apache.client.impl.ApacheHttpClientFactory.create(ApacheHttpClientFactory.java:39)
      5 frames
    4. AWS SDK for Java - Core
      AmazonWebServiceClient.<init>
      1. com.amazonaws.http.AmazonHttpClient.<init>(AmazonHttpClient.java:282)
      2. com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:164)
      2 frames
    5. AWS Java SDK for Amazon S3
      AmazonS3Client.<init>
      1. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:523)
      2. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:503)
      3. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:485)
      4. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:457)
      5. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:439)
      5 frames
    6. com.databricks.spark
      RedshiftRelation.buildScan
      1. com.databricks.spark.redshift.DefaultSource$$anonfun$$init$$1.apply(DefaultSource.scala:39)
      2. com.databricks.spark.redshift.DefaultSource$$anonfun$$init$$1.apply(DefaultSource.scala:39)
      3. com.databricks.spark.redshift.RedshiftRelation.buildScan(RedshiftRelation.scala:76)
      3 frames
    7. Spark Project SQL
      DataSourceStrategy$.apply
      1. org.apache.spark.sql.sources.DataSourceStrategy$$anonfun$3.apply(DataSourceStrategy.scala:50)
      2. org.apache.spark.sql.sources.DataSourceStrategy$$anonfun$3.apply(DataSourceStrategy.scala:50)
      3. org.apache.spark.sql.sources.DataSourceStrategy$$anonfun$pruneFilterProject$1.apply(DataSourceStrategy.scala:266)
      4. org.apache.spark.sql.sources.DataSourceStrategy$$anonfun$pruneFilterProject$1.apply(DataSourceStrategy.scala:265)
      5. org.apache.spark.sql.sources.DataSourceStrategy$.pruneFilterProjectRaw(DataSourceStrategy.scala:296)
      6. org.apache.spark.sql.sources.DataSourceStrategy$.pruneFilterProject(DataSourceStrategy.scala:261)
      7. org.apache.spark.sql.sources.DataSourceStrategy$.apply(DataSourceStrategy.scala:46)
      7 frames
    8. Spark Project Catalyst
      QueryPlanner$$anonfun$1.apply
      1. org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:58)
      2. org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:58)
      2 frames
    9. Scala
      Iterator$$anon$13.hasNext
      1. scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
      1 frame
    10. Spark Project Catalyst
      QueryPlanner.planLater
      1. org.apache.spark.sql.catalyst.planning.QueryPlanner.plan(QueryPlanner.scala:59)
      2. org.apache.spark.sql.catalyst.planning.QueryPlanner.planLater(QueryPlanner.scala:54)
      2 frames
    11. Spark Project SQL
      SparkStrategies$BasicOperators$.apply
      1. org.apache.spark.sql.execution.SparkStrategies$BasicOperators$.apply(SparkStrategies.scala:314)
      1 frame
    12. Spark Project Catalyst
      QueryPlanner$$anonfun$1.apply
      1. org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:58)
      2. org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:58)
      2 frames
    13. Scala
      Iterator$$anon$13.hasNext
      1. scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
      1 frame
    14. Spark Project Catalyst
      QueryPlanner.plan
      1. org.apache.spark.sql.catalyst.planning.QueryPlanner.plan(QueryPlanner.scala:59)
      1 frame
    15. Spark Project SQL
      DataFrame.javaToPython
      1. org.apache.spark.sql.SQLContext$QueryExecution.sparkPlan$lzycompute(SQLContext.scala:943)
      2. org.apache.spark.sql.SQLContext$QueryExecution.sparkPlan(SQLContext.scala:941)
      3. org.apache.spark.sql.SQLContext$QueryExecution.executedPlan$lzycompute(SQLContext.scala:947)
      4. org.apache.spark.sql.SQLContext$QueryExecution.executedPlan(SQLContext.scala:947)
      5. org.apache.spark.sql.DataFrame.rdd$lzycompute(DataFrame.scala:1367)
      6. org.apache.spark.sql.DataFrame.rdd(DataFrame.scala:1364)
      7. org.apache.spark.sql.DataFrame.javaToPython(DataFrame.scala:1448)
      7 frames
    16. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    17. Py4J
      GatewayConnection.run
      1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
      2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:379)
      3. py4j.Gateway.invoke(Gateway.java:259)
      4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
      5. py4j.commands.CallCommand.execute(CallCommand.java:79)
      6. py4j.GatewayConnection.run(GatewayConnection.java:207)
      6 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame