java.lang.NoClassDefFoundError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.

  • Calling main method outside of its class
    via by Henry Wong,
  • MPS2.5: nusvm tool not found
    via GitHub by bmerkle
    ,
  • MPS2.5: yices tool not found
    via GitHub by bmerkle
    ,
    • java.lang.NoClassDefFoundError: Testingclass (wrong n ame: p2/Testingclass) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source)

    Users with the same issue

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