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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ilovezfs
, 1 year ago
org.apache.http.client.utils.URIUtils.extractHost(Ljava/net/URI;)Lorg/apache/http/HttpHost;
via GitHub by cbeust
, 1 year ago
org.apache.http.client.utils.URIUtils.extractHost(Ljava/net/URI;)Lorg/apache/http/HttpHost;
java.lang.NoSuchMethodError: org.apache.http.client.utils.URIUtils.extractHost(Ljava/net/URI;)Lorg/apache/http/HttpHost;
at org.eclipse.aether.transport.http.HttpTransporter.(HttpTransporter.java:115)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector.(BasicRepositoryConnector.java:115)
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.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:267)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:202)
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.(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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.