org.eclipse.aether.resolution.DependencyResolutionException

Failed to collect dependencies at org.apache.hadoop:hadoop-client:jar:2.3.0 -> org.apache.hadoop:hadoop-common:jar:2.3.0 -> org.apache.hadoop:hadoop-auth:jar:2.3.0 -> org.apache.httpcomponents:httpclient:jar:4.2.5 -> org.apache.httpcomponents:httpcore:jar:4.2.5

Samebug tips1

Check for proxy misconfigurations and AWS issues.


rafaelrafael

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

Solutions on the web360

  • via Unknown by santosh sahoo,
  • via Unknown by yadav...@gmail.com,
  • via Unknown by Divya Sharma,
  • Stack trace

    • org.eclipse.aether.resolution.DependencyResolutionException: Failed to collect dependencies at org.apache.hadoop:hadoop-client:jar:2.3.0 -> org.apache.hadoop:hadoop-common:jar:2.3.0 -> org.apache.hadoop:hadoop-auth:jar:2.3.0 -> org.apache.httpcomponents:httpclient:jar:4.2.5 -> org.apache.httpcomponents:httpcore:jar:4.2.5 at com.google.common.base.Throwables.propagate(Throwables.java:160) at io.druid.cli.PullDependencies.downloadExtension(PullDependencies.java:363) at io.druid.cli.PullDependencies.run(PullDependencies.java:268) at io.druid.cli.Main.main(Main.java:106) Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failed to collect dependencies at org.apache.hadoop:hadoop-client:jar:2.3.0 -> org.apache.hadoop:hadoop-common:jar:2.3.0 -> org.apache.hadoop:hadoop-auth:jar:2.3.0 -> org.apache.httpcomponents:httpclient:jar:4.2.5 -> org.apache.httpcomponents:httpcore:jar:4.2.5 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:380) at io.tesla.aether.internal.DefaultTeslaAether.resolveArtifacts(DefaultTeslaAether.java:289) at io.druid.cli.PullDependencies.downloadExtension(PullDependencies.java:350) ... 2 more Caused by: org.eclipse.aether.collection.DependencyCollectionException: Failed to collect dependencies at org.apache.hadoop:hadoop-client:jar:2.3.0 -> org.apache.hadoop:hadoop-common:jar:2.3.0 -> org.apache.hadoop:hadoop-auth:jar:2.3.0 -> org.apache.httpcomponents:httpclient:jar:4.2.5 -> org.apache.httpcomponents:httpcore:jar:4.2.5 at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:292) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:342) ... 4 more Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.apache.httpcomponents:httpcore:jar:4.2.5 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:335) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:461) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:573) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:573) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:573) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:261) ... 5 more Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.apache.httpcomponents:httpcore:pom:4.2.5 from/to (https://repo1.maven.org/maven2/): connect timed out at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:320) ... 11 more Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.apache.httpcomponents:httpcore:pom:4.2.5 from/to (https://repo1.maven.org/maven2/): connect timed out at io.tesla.aether.connector.AetherRepositoryConnector$2.wrap(AetherRepositoryConnector.java:830) at io.tesla.aether.connector.AetherRepositoryConnector$2.wrap(AetherRepositoryConnector.java:824) at io.tesla.aether.connector.AetherRepositoryConnector$GetTask.flush(AetherRepositoryConnector.java:619) at io.tesla.aether.connector.AetherRepositoryConnector.get(AetherRepositoryConnector.java:238) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:535) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436) ... 14 more Caused by: java.net.SocketTimeoutException: connect timed out at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.Socket.connect(Socket.java:589) at com.squareup.okhttp.Connection.connect(Connection.java:100)

    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

    PierrePierre
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    1182 more bugmates