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 267538 - "Package does not exist" but it does
Summary: "Package does not exist" but it does
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.1
Hardware: PC Windows 8.1
: P3 normal (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2016-08-11 14:27 UTC by tedtrippin
Modified: 2016-08-11 15:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description tedtrippin 2016-08-11 14:27:36 UTC
Product Version: NetBeans IDE 8.1 (Build 201510222201)
Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1
Java: 1.8.0_72; Java HotSpot(TM) 64-Bit Server VM 25.72-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_72-b15
System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_GB (nb)

I work on a product which has dependencies that come from a number of git repositories. I regularly change branch from command line, which I suspect may be the reason for this problem.

I get "package <one of my own> does not exist" yet I get no such error when opening the same maven project in Eclipse. It also builds fine in NetBeans and from CLI.

In NetBeans explorer, under Dependencies, I can even navigate to the package. 

Amongst the things I tried are....
- "mvn clean pacakge", from CLI
- clean and build, from NetBeans
- deleted my local maven repo and rebuilt everything, and re-opened NetBeans
- closed NetBeans, deleted cache, opened NetBeans

Eventually, I just re-installed NetBeans and finally the false error has gone.