This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

a error when execution!


hello all,
I successfully compile my SWT application into native code which the
main function is edu.sysu.qftp.gui.FTPGUI.

when I execute it , the splash is show as normal ,but after that , the
error below occur:

Exception in thread "main" java.lang.NoClassDefFoundError:
edu.sysu.qftp.gui.pref.PreferencesImpl
at java.lang.Class.initializeClass (natClass.cc:690)
at edu.sysu.qftp.gui.pref.PreferencesUnmarshaller.unmarshal (QFTP)
at edu.sysu.qftp.gui.pref.PreferencesUnmarshaller.unmarshal (QFTP)
at edu.sysu.qftp.gui.preferences.Preference.load (QFTP)
at edu.sysu.qftp.gui.FTPGUI.main (QFTP)
Caused by: java.lang.NullPointerException
at java.lang.Class.initializeClass (natClass.cc:684)
...4 more

it works well as java application .
what might I did wrong ? how can I fix it ?
Thank you for your help !


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]