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 198466

Summary: All of a suddfen, all the classes of the project show a "duplicate class" error.
Product: java Reporter: nnovic
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mmirilovic
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description nnovic 2011-05-10 07:32:53 UTC
Product Version = NetBeans IDE 7.0 (Build 201104080000)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_18
Runtime = Java HotSpot(TM) Client VM 16.0-b13

The project was compiling and running just fine. Then a imported the project into a subversion repository. I can build the project without any error, but then when I want to run it I get a NoClassDeftFoundError exception for the main class. Then I try to deleted manually the "build" directory of the project. But it doesn't solve the issue. I try this a few times, and then all the classes in the project show a red dot with an exclamation mark: the ide  tells me they are all duplicates, which is actually not the case.

Then I close netbeans 7.0 and reopens the same project with netbeans 6.9, and everything works smoothly. no "duplicate class" eror, no "NoClassDefFoundError" exceptoin. 

Then I close netbeans 6.9 and reopens the same project with netbean 7.0, but the "duplicate class" errors are back.

I have uninstalled the CVS, Subvsersion and Local History plugins from netbeans 7.0, but the errors are still there.
Comment 1 Jan Lahoda 2012-11-07 14:52:19 UTC
Same as bug #197983, I guess.

*** This bug has been marked as a duplicate of bug 197983 ***