java.lang.NoClassDefFoundError

tip

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 3rd party library problem
    via by rosy Jovita,
  • NoClassDefFoundError for Jar file
    via Stack Overflow by user700996
    ,
  • Running Java Program in Sub-Directory
    via Stack Overflow by Anthony Wong
    ,
  • Need help compiling & executing
    via by SharkD,
  • Sigar api problems!
    via by 843810,
    • java.lang.NoClassDefFoundError: MemoryMonitor (wrong name: org/hyperic/sigar/cmd/MemoryMonitor) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    junior_cEngineerjunior_cEngineer
    1 times, last one,
    GhostsGhosts
    12 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    139 more bugmates