java.lang.NoSuchMethodError

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11847

  • via GitHub by cbeust
    , 1 year ago
    org.apache.http.client.utils.URIUtils.extractHost(Ljava/net/URI;)Lorg/apache/http/HttpHost;
  • via GitHub by sunhao111999
    , 1 year ago
    org.apache.http.client.utils.URIUtils.extractHost(Ljava/net/URI;)Lorg/apache/http/HttpHost;
  • org.apache.http.client.utils.URIUtils.extractHost(Ljava/net/URI;)Lorg/apache/http/HttpHost;
  • Stack trace

    • java.lang.NoSuchMethodError: org.apache.http.client.utils.URIUtils.extractHost(Ljava
    • et/URI;)Lorg/apache/http/HttpHost; at org.eclipse.aether.transport.http.HttpTransporter.<init>(HttpTransporter.java:115) at org.eclipse.aether.transport.http.HttpTransporterFactory.newInstance(HttpTransporterFactory.java:93) at org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:110) at org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:115) at org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory.newInstance(BasicRepositoryConnectorFactory.java:180) at org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorProvider.java:113) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:516) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:267) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:198) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:202) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:341) at com.beust.kobalt.maven.aether.Aether.resolve(Aether.kt:169) at com.beust.kobalt.maven.aether.AetherDependency.getJarFile(Aether.kt:206) at com.beust.kobalt.internal.KotlinJarFiles.getKotlinCompilerJar(KotlinJarFiles.kt:15) at com.beust.kobalt.internal.KotlinJarFiles.getStdlib(KotlinJarFiles.kt:18) at com.beust.kobalt.plugin.kotlin.KotlinPlugin.classpathEntriesFor(KotlinPlugin.kt:104) at com.beust.kobalt.plugin.kotlin.KotlinPlugin.classpathEntriesFor(KotlinPlugin.kt:19) at com.beust.kobalt.maven.DependencyManager.runClasspathContributors(DependencyManager.kt:103) at com.beust.kobalt.maven.DependencyManager.calculateDependencies(DependencyManager.kt:93) at com.beust.kobalt.app.ParsedBuildFile.generateJarFile(ParsedBuildFile.kt:147) at com.beust.kobalt.app.ParsedBuildFile.initPluginUrls(ParsedBuildFile.kt:122) at com.beust.kobalt.app.ParsedBuildFile.<init>(ParsedBuildFile.kt:41) at com.beust.kobalt.app.BuildFileCompiler.parseBuildFile(BuildFileCompiler.kt:162) at com.beust.kobalt.app.BuildFileCompiler.findProjects(BuildFileCompiler.kt:75) at com.beust.kobalt.app.BuildFileCompiler.compileBuildFiles(BuildFileCompiler.kt:61) at com.beust.kobalt.app.ProjectFinder.initForBuildFile(ProjectFinder.kt:20) at com.beust.kobalt.Main.runWithArgs(Main.kt:181) at com.beust.kobalt.Main.access$runWithArgs(Main.kt:56) at com.beust.kobalt.Main$run$timing$1.invoke(Main.kt:117) at com.beust.kobalt.Main$run$timing$1.invoke(Main.kt:56) at com.beust.kobalt.misc.BenchmarksKt.benchmarkMillis(Benchmarks.kt:5) at com.beust.kobalt.misc.BenchmarksKt.benchmarkSeconds(Benchmarks.kt:10) at com.beust.kobalt.Main.run(Main.kt:115) at com.beust.kobalt.MainKt.mainNoExit(Main.kt:48) at com.beust.kobalt.MainKt.main(Main.kt:26)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago