java.lang.NoClassDefFoundError: SubclassInSame (wrong name: package1/SubclassInSamePackage)

Coderanch | nirjari patel | 6 years ago
  1. 0

    importing packages in a class

    Coderanch | 6 years ago | nirjari patel
    java.lang.NoClassDefFoundError: SubclassInSame (wrong name: package1/SubclassInSamePackage)
  2. 0

    always get: java.lang.NoClassDefFoundError: com/sun/jna/win32/StdCallLibrary

    Google Groups | 6 years ago | zihao
    java.lang.NoClassDefFoundError: com/sun/jna/ win32/StdCallLibrary
  3. 0

    Java code compiles but does not execute : "Could not find the main class"

    Stack Overflow | 5 years ago | Literati Insolitus
    java.lang.NoClassDefFoundError: SendMail (wrong name: je3/net/SendMail)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using ANT in Java to extract files

    Stack Overflow | 5 years ago | TNO
    java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
  6. 0

    String Encryption with JASYPT - Java

    Stack Overflow | 6 years ago | Tian
    java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException

  1. kjhdofjosvs 3 times, last 3 weeks ago
  2. Luka 24 times, last 2 months ago
  3. andyglick 2 times, last 3 months ago
  4. tfr 8 times, last 4 months ago
  5. pnaranja 1 times, last 5 months ago
5 more registered users
90 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    SubclassInSame (wrong name: package1/SubclassInSamePackage)

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClassCond(Unknown Source)
    3. java.lang.ClassLoader.defineClass(Unknown Source)
    4. java.security.SecureClassLoader.defineClass(Unknown Source)
    5. java.net.URLClassLoader.defineClass(Unknown Source)
    6. java.net.URLClassLoader.access$000(Unknown Source)
    7. java.net.URLClassLoader$1.run(Unknown Source)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(Unknown Source)
    10. java.lang.ClassLoader.loadClass(Unknown Source)
    11. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    12. java.lang.ClassLoader.loadClass(Unknown Source)
    12 frames