java.lang.NoClassDefFoundError

Test2

Samebug tips1

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

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

Solutions on the web7

  • via Google Groups by Unknown author, 6 months ago
    Test2
  • via Oracle Community by 843807, 1 year ago
    test2$1
  • via Coderanch by nirjari patel, 9 months ago
    Test2 (wrong name: package2/Test2)
  • Stack trace

    • java.lang.NoClassDefFoundError: Test2 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

    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

    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 10 months ago
    142 more bugmates