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.
Product Version: NetBeans IDE Dev (Build 200710120000) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) I created Java application and added JAXB binding into. Then inserted some testing code into main(). After that I used "Fix imports" functionality (Ctrl+Shift+I) to fix imports. Nothing changed. My code stay corrupted because used classes added during JAXB creation and there are no related import statements yet. After manual insertion of required import statements project compiled and ran fine. Normal fixing without JAXB works fine also, so issue about JAXB not other area in my opinion.
In some cases (I did not establish exact steps yet) java file editor shows errors like unexisting package while projects builds and runs successfully.
Created attachment 50821 [details] screenshot
Yes, in current builds JAXB Wiz generated classes are not recognized by the editor. Neither code completion, fix imports are working. Have re-opened the issue #114164, there is one more on the same the issue #117698. Since the root cause is same, marking this as duplicate of #114164. *** This issue has been marked as a duplicate of 114164 ***
Hong, Michael, fix is in the trunk, once if it works for you guys, I will request for check-in to release60_beta2. Changed files. http://xml.netbeans.org/source/browse/xml/jaxb/src/org/netbeans/modules/xml/jaxb/model/JAXBWizLookupProvider.java?r1=1.2&r2=1.3 http://xml.netbeans.org/source/browse/xml/jaxb/src/org/netbeans/modules/xml/jaxb/model/JAXBGenSourceClassPathProvider.java?rev=1.1&content-type=text/vnd.viewcvs-markup
Build 200710150000 Looks good for me. But this issue is bit periodical so I'm not sure will not come back again. Anyway works fine in specified build. Will check original issues also as slightly different scenario specified there.