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.
The build is NetBeans 5.5 beta 2. Open the attached HelloWorld project, Open the Person.java in com.sun.demo.model in the Source Packages, Try fixing import by pressing Alt-Shift-F, Auto import doesn't work! See attachment for a screenshot.
Created attachment 33005 [details] HelloWorld Project
Created attachment 33006 [details] Screenshot of auto import failure.
I am not sure which subcomponent this issue belongs to.
Can you provide further info, please? - if the imports are added manualy are they annotated as error ('connot find package....') ? - is the code compilable if the imports are added manualy? - did you used installer or just unpacked the zip archive when you downloaded NB 5.5 beta2?
And another two questions: Does it behave like this from the moment you've installed NB beta2 or it just got broken later? What version of JDK do you use?
I actually used the installer for NetBeans Enterprise Pack Beta 2 RC1. From the installer, it says the IDE version is Beta 2. (See snapshot) If I import manually, it doesn't have annotation error and it compiles. However, the import auto complete doesn't help. (See snapshot) I pretty much have this error right after installation. My JDK version is 1.5.0_06.
Created attachment 33032 [details] Java EE 5 Tools Bundle Installer Screen
Created attachment 33033 [details] Import auto complete doesn't give me all the classes in java.beans package.
When the project compiles and there are no error marks, it implies that the project reports correct classpaths. The same classpaths are passed to the Ant to build the project and to the javac to report diagnostics.
*** This issue has been marked as a duplicate of 82153 ***
Reorganization of java component