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

GitHub | miha93 | 5 months ago
  1. 0

    GitHub comment 135#235281188

    GitHub | 5 months ago | miha93
    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V
  2. 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
  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 | 4 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:87)
      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:50)
      5. com.amazonaws.http.apache.client.impl.ApacheHttpClientFactory.create(ApacheHttpClientFactory.java:38)
      5 frames
    4. AWS SDK for Java - Core
      AmazonWebServiceClient.<init>
      1. com.amazonaws.http.AmazonHttpClient.<init>(AmazonHttpClient.java:253)
      2. com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:145)
      2 frames
    5. AWS Java SDK for Amazon S3
      AmazonS3Client.<init>
      1. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:407)
      2. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:387)
      3. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:369)
      4. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:341)
      5. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:323)
      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:93)
      3 frames
    7. org.apache.spark
      DataSourceStrategy$.apply
      1. org.apache.spark.sql.execution.datasources.DataSourceStrategy$$anonfun$3.apply(DataSourceStrategy.scala:57)
      2. org.apache.spark.sql.execution.datasources.DataSourceStrategy$$anonfun$3.apply(DataSourceStrategy.scala:57)
      3. org.apache.spark.sql.execution.datasources.DataSourceStrategy$$anonfun$pruneFilterProject$1.apply(DataSourceStrategy.scala:292)
      4. org.apache.spark.sql.execution.datasources.DataSourceStrategy$$anonfun$pruneFilterProject$1.apply(DataSourceStrategy.scala:291)
      5. org.apache.spark.sql.execution.datasources.DataSourceStrategy$.pruneFilterProjectRaw(DataSourceStrategy.scala:370)
      6. org.apache.spark.sql.execution.datasources.DataSourceStrategy$.pruneFilterProject(DataSourceStrategy.scala:287)
      7. org.apache.spark.sql.execution.datasources.DataSourceStrategy$.apply(DataSourceStrategy.scala:53)
      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:349)
      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.showString
      1. org.apache.spark.sql.execution.QueryExecution.sparkPlan$lzycompute(QueryExecution.scala:47)
      2. org.apache.spark.sql.execution.QueryExecution.sparkPlan(QueryExecution.scala:45)
      3. org.apache.spark.sql.execution.QueryExecution.executedPlan$lzycompute(QueryExecution.scala:52)
      4. org.apache.spark.sql.execution.QueryExecution.executedPlan(QueryExecution.scala:52)
      5. org.apache.spark.sql.DataFrame.withCallback(DataFrame.scala:2095)
      6. org.apache.spark.sql.DataFrame.head(DataFrame.scala:1374)
      7. org.apache.spark.sql.DataFrame.take(DataFrame.scala:1456)
      8. org.apache.spark.sql.DataFrame.showString(DataFrame.scala:170)
      8 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:497)
      4 frames
    17. Py4J
      GatewayConnection.run
      1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
      2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381)
      3. py4j.Gateway.invoke(Gateway.java:259)
      4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
      5. py4j.commands.CallCommand.execute(CallCommand.java:79)
      6. py4j.GatewayConnection.run(GatewayConnection.java:209)
      6 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame