java.lang.NoClassDefFoundError

org/apache/hadoop/conf/Configuration


Samebug tips9

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

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


Solutions on the web19400

Solution icon of github
org/apache/hadoop/conf/Configuration

Solution icon of github
via GitHub by bholt
, 1 year ago
org/apache/hadoop/conf/Configuration

Solution icon of googlegroups
via Google Groups by Unknown author, 5 months ago
org/apache/hadoop/conf/Configuration

Solution icon of googlegroups
org/apache/hadoop/conf/Configuration

Solution icon of apache
via hadoop-mapreduce-dev by Apache Hudson Server, 1 year ago
org/apache/hadoop/conf/Configuration

Solution icon of apache
via hadoop-general by Alessandro Binhara, 1 month ago
org/apache/hadoop/conf/Configuration

Solution icon of stackoverflow
org/apache/hadoop/conf/Configuration

Solution icon of stackoverflow
org/apache/hadoop/conf/Configuration

Solution icon of stackoverflow
org/apache/hadoop/conf/Configuration

Solution icon of web
org/apache/hadoop/conf/Configuration

Stack trace

  • java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration at hdfstest1.HDFSTestGUI1.<init>(HDFSTestGUI1.java:48) at hdfstest1.HDFSTestGUI1$17.run(HDFSTestGUI1.java:561) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configuration 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) ... 16 more

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2433 more bugmates