java.lang.NoClassDefFoundError: horstmann\samples\Fil eChooserTest (wrong name: FileChooserTest)

Coderanch | Jon Camilleri | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [error] error: Class names, 'JFileChooser', are only accepted if annotation processing is explicit

    Coderanch | 6 years ago | Jon Camilleri
    java.lang.NoClassDefFoundError: horstmann\samples\Fil eChooserTest (wrong name: FileChooserTest)
  2. 0

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

    Google Groups | 7 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 | 6 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 | 6 years ago | TNO
    java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
  6. 0

    String Encryption with JASYPT - Java

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

  1. olle.hallin 2 times, last 3 weeks ago
  2. batwalrus76 3 times, last 1 month ago
  3. rsprangemeijer 1 times, last 2 months ago
  4. andyglick 2 times, last 2 months ago
  5. bamboomy 1 times, last 2 months ago
10 more registered users
85 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

    horstmann\samples\Fil eChooserTest (wrong name: FileChooserTest)

    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