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

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by josteinaj
, 9 months ago
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
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.daisy.pipeline.pax.exam.Options$MavenBundlesWithDependencies.getBundles(Options.java:333)
at org.daisy.pipeline.pax.exam.Options$MavenBundlesWithDependencies.(Options.java:304)
at org.daisy.pipeline.pax.exam.Options$MavenBundlesWithDependencies.(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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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