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'm using a Java project to create a library that is generated from JAXB Bindings (classes from xml schemas) Another project uses the Java library. Everything works fine on Netbeans 6.0. Although on Netbeans 6.1, it compiles right with no errors but on the editor screen the Java project classes that uses the library classes keeps showing red underline messages and exclamation that package wasn't found. It also doesn't find the package on code complete. Any idea where the problem is ?
Yes. It is regression. Issue 114164.
*** This issue has been marked as a duplicate of 114164 ***
I'm trying it with 6.5 Beta and it hasn't been fixed. Although I noticed that if I use classes from generated XML schema on the same project that has the jaxb folder it works. The problem is when I try to use the class on another project that imports it. the steps to reproduce are: 1. create a simple java project to host the schemas. 2. add a jaxb binding 3. imports schemas and generate java classes. ( In my case they are a large number of classes, huge, > 2500 ) 4. create another java project. 5. go to properties and import the first project. 6. try to use the ObjectFactory and you'll see that it shows the red underline and it doesn't compile too. This scenario used to work on 6.0 I can't post the schemas here because they belong to a third party. Product Version: NetBeans IDE 6.5 Beta (Build 200808111757) Java: 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05 System: SunOS version 5.10 running on x86; ISO8859-1; en_US (nb)
Created attachment 70358 [details] XML schema file used
Could simulate with latest trunk build. Product Version: NetBeans IDE Dev (Build 20080923152338) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\tmp\nb65_0923 Tried below test cases. - Java SE project importing another Java SE project. - Web Application project importing Java SE project. - EJB project importing Java SE project. - EJB project importing another EJB project. teodoro, Change related to this was checked-in around Aug 05 to trunk, NB 6.5 beta build (20080811) might have missed the change. Could you try latest 6.5 dev build? let us know if you still get the issue. Attached the schema file used to verify.
I tried with the latest v6.5 daily development build and it is fixed. Thanks.
I'm having it with 6.7.1 version again. It seems a regression.
It went away after some minutes. It looks like a performance issue.
Closing this issue, based on latest feedback. teodoro, If you think it is still issue but related performance or slow updation of classpath, you might want to file a separate issue with respective NB project type.
Closing based on last user response.