java.lang.NoSuchMethodError: org.apache.http.client.utils.URIUtils.extractHost(Ljava/net/URI;)Lorg/apache/http/HttpHost;

GitHub | cbeust | 4 months ago
  1. 0

    GitHub comment 287#234011413

    GitHub | 4 months ago | cbeust
    java.lang.NoSuchMethodError: org.apache.http.client.utils.URIUtils.extractHost(Ljava/net/URI;)Lorg/apache/http/HttpHost;
  2. 0

    Misc: snapshots maven metadatas are not properly generated on Sonatype

    GitHub | 3 years ago | slandelle
    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLSocketFactory.<init>(Ljavax/net/ssl/SSLSocketFactory;Lorg/apache/http/conn/ssl/X509HostnameVerifier;)V
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Re: Problem when loading a jar

    Google Groups | 2 years ago | Michael Anstis
    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLSocketFactory.<init>(Ljavax/net/ssl/SSLSocketFactory;Lorg/apache/http/conn/ssl/X509HostnameVerifier;)V
  5. 0

    GitHub comment 25#53598453

    GitHub | 2 years ago | bretthoerner
    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLSocketFactory.<init>(Ljavax/net/ssl/SSLSocketFactory;Lorg/apache/http/conn/ssl/X509HostnameVerifier;)V

    1 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.client.utils.URIUtils.extractHost(Ljava/net/URI;)Lorg/apache/http/HttpHost;

      at org.eclipse.aether.transport.http.HttpTransporter.<init>()
    2. Aether Transport HTTP
      HttpTransporterFactory.newInstance
      1. org.eclipse.aether.transport.http.HttpTransporter.<init>(HttpTransporter.java:115)
      2. org.eclipse.aether.transport.http.HttpTransporterFactory.newInstance(HttpTransporterFactory.java:93)
      2 frames
    3. Aether Implementation
      DefaultTransporterProvider.newTransporter
      1. org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:110)
      1 frame
    4. Aether Connector Basic
      BasicRepositoryConnectorFactory.newInstance
      1. org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:115)
      2. org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory.newInstance(BasicRepositoryConnectorFactory.java:180)
      2 frames
    5. Aether Implementation
      DefaultArtifactResolver.resolveArtifact
      1. org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorProvider.java:113)
      2. org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:516)
      3. org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
      4. org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
      5. org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
      5 frames
    6. Maven Aether Provider
      DefaultArtifactDescriptorReader.readArtifactDescriptor
      1. org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:267)
      2. org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:198)
      2 frames
    7. Aether Implementation
      DefaultRepositorySystem.resolveDependencies
      1. org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:202)
      2. org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:341)
      2 frames
    8. com.beust.kobalt
      MainKt.main
      1. com.beust.kobalt.maven.aether.Aether.resolve(Aether.kt:169)
      2. com.beust.kobalt.maven.aether.AetherDependency.getJarFile(Aether.kt:206)
      3. com.beust.kobalt.internal.KotlinJarFiles.getKotlinCompilerJar(KotlinJarFiles.kt:15)
      4. com.beust.kobalt.internal.KotlinJarFiles.getStdlib(KotlinJarFiles.kt:18)
      5. com.beust.kobalt.plugin.kotlin.KotlinPlugin.classpathEntriesFor(KotlinPlugin.kt:104)
      6. com.beust.kobalt.plugin.kotlin.KotlinPlugin.classpathEntriesFor(KotlinPlugin.kt:19)
      7. com.beust.kobalt.maven.DependencyManager.runClasspathContributors(DependencyManager.kt:103)
      8. com.beust.kobalt.maven.DependencyManager.calculateDependencies(DependencyManager.kt:93)
      9. com.beust.kobalt.app.ParsedBuildFile.generateJarFile(ParsedBuildFile.kt:147)
      10. com.beust.kobalt.app.ParsedBuildFile.initPluginUrls(ParsedBuildFile.kt:122)
      11. com.beust.kobalt.app.ParsedBuildFile.<init>(ParsedBuildFile.kt:41)
      12. com.beust.kobalt.app.BuildFileCompiler.parseBuildFile(BuildFileCompiler.kt:162)
      13. com.beust.kobalt.app.BuildFileCompiler.findProjects(BuildFileCompiler.kt:75)
      14. com.beust.kobalt.app.BuildFileCompiler.compileBuildFiles(BuildFileCompiler.kt:61)
      15. com.beust.kobalt.app.ProjectFinder.initForBuildFile(ProjectFinder.kt:20)
      16. com.beust.kobalt.Main.runWithArgs(Main.kt:181)
      17. com.beust.kobalt.Main.access$runWithArgs(Main.kt:56)
      18. com.beust.kobalt.Main$run$timing$1.invoke(Main.kt:117)
      19. com.beust.kobalt.Main$run$timing$1.invoke(Main.kt:56)
      20. com.beust.kobalt.misc.BenchmarksKt.benchmarkMillis(Benchmarks.kt:5)
      21. com.beust.kobalt.misc.BenchmarksKt.benchmarkSeconds(Benchmarks.kt:10)
      22. com.beust.kobalt.Main.run(Main.kt:115)
      23. com.beust.kobalt.MainKt.mainNoExit(Main.kt:48)
      24. com.beust.kobalt.MainKt.main(Main.kt:26)
      24 frames