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.
Summary: | Errors show up in editor, but the code compiles fine | ||
---|---|---|---|
Product: | java | Reporter: | dcomsa <dcomsa> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screen shot |
Description
dcomsa
2008-04-21 12:24:19 UTC
Created attachment 60488 [details]
screen shot
Please, provide more info: Which build do you use? What type of project do you use? Which libraries do you use in you project and what's their configuration? Thanks After reading your post, and trying to gather info to reply, I have managed to find the issue. Here's what happen. I have two projects. One of them managing persistent (using JPA API) operations, and the other one using it. The one with JPA had "TopLink Essentials" library added, while the main one didn't. The main project was using entity classes, and I think this is where the IDE got confused. After adding "TopLink Essentials" library to the second project, the errors disappeared. Anyway, here's the info you requested: Product Version: NetBeans IDE 6.1 RC1 (Build 200804100130) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 System: Linux version 2.6.24-16-generic running on i386; UTF-8; en_US (nb) Project type: Java Application Unfortunately NetBeans doesn't automatically add transitive libraries from libraries projects to the main project. There is a request for it #47507. Marking as a duplicate. *** This issue has been marked as a duplicate of 47507 *** |