java.lang.NoClassDefFoundError: Apple (wrong name: food/Apple)

Coderanch | Sarah Jorden | 9 years ago
  1. 0

    package access trouble

    Coderanch | 9 years ago | Sarah Jorden
    java.lang.NoClassDefFoundError: Apple (wrong name: food/Apple)
  2. 0

    package access trouble

    Coderanch | 9 years ago | Sarah Jorden
    java.lang.NoClassDefFoundError: Apple (wrong name: food/Apple)
  3. 0

    Yet another Java classpath problem

    Stack Overflow | 7 years ago | pypmannetjies
    java.lang.NoClassDefFoundError: Main (wrong name: pro ject2/Main)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems in running a modified Java code

    Stack Overflow | 5 years ago | user1200825
    java.lang.NoClassDefFoundError: TanaModel (wrong name: models/TanaModel)
  6. 0

    3 ways to solve java.lang.NoClassDefFoundError in Java J2EE

    blogspot.com | 2 months ago
    java.lang.NoClassDefFoundError: com\MainApp (wrong name: com/MainApp)

    1 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

      Apple (wrong name: food/Apple)

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      5. java.net.URLClassLoader.access$000(URLClassLoader.java:56)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      9. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      10. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
      11. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      12. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      12 frames