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.

Bug 90966 - Internal editor flags false errors due to classpath issues
Summary: Internal editor flags false errors due to classpath issues
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-12 15:23 UTC by _ gtzabari
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2006-12-12 15:23:08 UTC
The new editor annotates my source-code with many errors which are simply not
true. For example, the first error it highlights is "javax.persistence does not
exist" yet I included a JAR file in the project classpath which defines this
package and associated classes. Furthermore, if I hit F9 to compile the file it
compiles just fine.

I've only seen this problem since the introduction of the new editor. Is there
information I can provide you with to help you reproduce this problem on your end?
Comment 1 Jiri Prox 2006-12-13 08:31:23 UTC
Yes, can you provide more info about project you've used, please? Projet type,
config file (project.xml, project.properties in nbproject directory). Did you
add jar as single jar or as library (if the second case: how is the library
defined)?

This looks very similar to issue 90360, but I'm not sure yet if it's duplicate. 
Comment 2 _ gtzabari 2006-12-13 15:49:27 UTC
Ugh. I've been seeing this issue for *weeks* and today when I open Netbeans to
double-check the problem is magically gone. I upgraded to Java6 final recently
so *maybe* that magically fixed things but I really don't see why. I was using
b103 before and Java6 final is b105. Anyway, I'm closing this issue for now
until I can reproduce it again.