java.lang.NoClassDefFoundError: org/apache/log4j/Layout

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 netty.io by Unknown author

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

Solutions on the web

via Stack Overflow by Eric
, 1 year ago
org/apache/log4j/Layout
via Stack Overflow by Ragesh Kumar
, 2 years ago
via Stack Overflow by paulusm
, 2 years ago
via Oracle Community by 7538, 1 year ago
org/apache/soap/SOAPException
via hadoop-mapreduce-dev by Apache Hudson Server, 1 year ago
via hadoop-mapreduce-dev by Apache Hudson Server, 1 year ago
org/apache/hadoop/conf/Configuration
java.lang.ClassNotFoundException: org.apache.log4j.Layout
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplicationWithArgs$100(LauncherImpl.java:352)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$119(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$117(PlatformImpl.java:295)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$118(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$null$450(GtkApplication.java:139)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

2 times, 1 day ago
2 times, 1 day ago
29 times, 1 day ago
Once, 1 day ago
Once, 1 day ago

Write tip

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