This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
i now use netbeans 6.7 rc3 . i export the configuration to a zip file. but after i re-installed netbeans and try to import the config file , the Swing desktop application would not work. they said they cannot find the java.lang.NoClassDefFoundError: org/jdesktop/application/SingleFrameApplication at java.lang.ClassLoader.defineClass1(Native Method) but ofcoz my project is ok. and when i delete the .netbeans folder in my document. the project works ! ...
Works for me. I started freshly installed 6.7, created a Java Desktop Application project and then exported all settings available in the dialog box at Tools/Options -> Export. I reinstalled 6.7 including removing .netbeans/6.7 userdir folder and after the start of newly installed 6.7 I went directly to Tools/Options -> Import and imported all settings from the zip created in the previous 6.7 installation. The import worked perfectly, all settings were imported, IDE restarted and after the restart the Desktop Application project was opened automatically and I can work with it nicely. Please, be more specific about your OS, the JDK version, IDE distribution (I used the "All" distro of the IDE), and the steps to reproduce. If possible, please attach also the project (zipped up) and the settings zip here.
flyinfeeling sent to me over email: "i create a swing application framework project (like safproject i add a library into Library forexample : commons.lang i add the commons.lang lib to my project. and now , it ofcoz works. then i export the whole config (choose 'all' ) to a zip file (like config.zip) remove the netbeans system and the .netbeans folder re-install the netbeans import the config.zip file and now the safproject will not work . it indicate that they cannot find the class but now close the netbeans. remove the .netbeans folder open the netbeans. add the commons.lang to Library again , solve the reference problem. and now the project works. or saying like this : the library import has bug , it makes SAF progject fail to find the SAF classes. and i have another test . if i import the 'all' except 'librarys and variables' , all other features all import perfectly , and i ofcoz have to solve reference problem . if i choose 'all' , i do not need to solve any reference problem , but SAF project just dose not work . i use Java distribution. this problem start from 6.7m1 and last util now."
Marian, can QE help reproducing the problem? I followed the steps above, but it works for me correctly.