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.
Created attachment 107585 [details] Picture showing metbeans completing the build even though errors are showing. In my project, I have a dependant JAR added at runtime. Recently, I added a compile dependency as well, but I did not add the jar to the Compile dependencies in the properties. When I Clean and Build, the build completes but the tree still shows errors and if I edit the file in question it is still flagging the import for that jar as an error. This project will not run since it did not really build correctly. I am attaching a screen shot showing what I am talking about. Product Version: NetBeans IDE 7.0 RC1 (Build 201103280000) Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\dm185016\.netbeans\7.0rc1
Cannot evaluate without steps to reproduce from scratch.
Created attachment 107586 [details] Picture showing the error with simple recreate steps
I recreated with a simple project. You need to have the following JAR structure: A.jar depends on B.jar and C.jar. B.jar depends on C.jar. 1. Create project A. 2. For project A: Properties | Libraries | Compile add project B 3. For project A: Properties | Libraries | Run add project C 4. Create project B. 5. For project B: Properties | Libraries | Compile add project C 6. In Main.java of project A add import for some class in B. 7. In Main.java of project A add import for some class in C. This gives the squiggly line showing the error in A. 8. Clean and Build main class. The build completes but errors still show in A Note: In the new picture I just attached: A=nbbug.jar B=statem.jar C=tbcontrols.jar Ignore utils.jar as B and C both reference it.
reproduced according to steps.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss