java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

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

,
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.

,
Expert tip

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

Solutions on the web

via Terracotta by tquinn10, 1 year ago
via Terracotta by vaedama, 1 year ago
via Stack Overflow by Subodh230
, 2 years ago
org/slf4j/LoggerFactory
via Terracotta by rajneeka, 1 year ago
via Oracle Community by 843830, 1 year ago
org/apache/commons/logging/LogFactory
via mkyong.com by Unknown author, 10 months ago
org/apache/commons/logging/LogFactory
java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.quartz.impl.StdSchedulerFactory.(StdSchedulerFactory.java:274)
at com.ac.ibats.utils.quartz.QuartzTest.main(QuartzTest.java:13)

Users with the same issue

Once, 1 week ago
Once, 1 month ago
Once, 2 months ago
Once, 2 months ago
5 times, 2 months ago

Write tip

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