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

    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
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

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