java.lang.RuntimeException

org.sonatype.aether.resolution.DependencyResolutionException: Could not transfer artifact org.slf4j:slf4j-api:jar:1.7.4 from/to central (http://repo.maven.apache.org/maven2): No connector available to access repository central (http://repo.maven.apache.org/maven2) of type default using the available factories

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web2

  • via GitHub by josteinaj
    ,
  • via GitHub by josteinaj
    ,
  • Stack trace

    • java.lang.RuntimeException: org.sonatype.aether.resolution.DependencyResolutionException: Could not transfer artifact org.slf4j:slf4j-api:jar:1.7.4 from/to central (http://repo.maven.apache.org/maven2): No connector available to access repository central (http://repo.maven.apache.org/maven2) of type default using the available factories at org.sonatype.aether.impl.internal.DefaultRemoteRepositoryManager.getRepositoryConnector(DefaultRemoteRepositoryManager.java:400) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:453) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358) at org.daisy.pipeline.pax.exam.Options$MavenBundlesWithDependencies.getBundles(Options.java:333) at org.daisy.pipeline.pax.exam.Options$MavenBundlesWithDependencies.<init>(Options.java:304) at org.daisy.pipeline.pax.exam.Options$MavenBundlesWithDependencies.<init>(Options.java:292) at org.daisy.pipeline.pax.exam.Options.mavenBundlesWithDependencies(Options.java:289) at org.daisy.pipeline.pax.exam.OptionsTest.testLogbackClassicWithDependencies(OptionsTest.java:20)

    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

    We couldn't find other users who have seen this exception.