Results 1 to 2 of 2
  1. #1
    ernieBob is offline Member
    Join Date
    Feb 2008
    Rep Power

    Default error while running jar file

    Hello all

    I have successfully compiled my project in the netbeans IDE but the jar file will not run due to the following error in terminal:

    Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group

    I have run previous versions of the jar file without this problem. Can anyone point me to the cause of this problem? :confused:

    Thank you in advance

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power


    Since it is NoClassDefFoundError, I think may be a class file is missing or corrupted in the jar file. Extract the jar file and check all the required class files are included in the jar file.

    Is it help to you.

Similar Threads

  1. Replies: 2
    Last Post: 12-03-2008, 11:14 AM
  2. jsp running problem
    By bharanikumariyerjava in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 03-29-2008, 10:48 AM
  3. reading from a zip file, error
    By Mr tuition in forum AWT / Swing
    Replies: 1
    Last Post: 01-16-2008, 12:39 AM
  4. File Write Error
    By vikain in forum Advanced Java
    Replies: 5
    Last Post: 01-02-2008, 04:38 AM
  5. Replies: 7
    Last Post: 08-12-2007, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts