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

  1. ,
    via github.com by Unknown author

    This is because SLF4J jar file needs to be added into your application's classpath. In order to fix this issue you have to provide one of the various SLF4J implementation .jar files in the classpath, as well as the interface .jar file.

  2. ,
    Expert tip

    You need to add httpcore to your dependencies. Try adding version 4.3 or further.

Solutions on the web

via Apache's JIRA Issue Tracker by Konrad Windszus, 1 year ago
java.lang.ClassNotFoundException: org.slf4j.LoggerFactory	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)	at org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner.(SlingRemoteTestRunner.java:46)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:408)	at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:29)	at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)	at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:262)	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)