Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans error: package org does not exist

Tags:

I just installed Netbeans IDE. I am now unable to import any org.* libs and it just says package org does not exist. Also, I imported jdic.jar into the project and even though the code completion suggestions show up as org.jdesktop.*, it shows the same error.

How do I fix this?

like image 546
Anirudh Ramanathan Avatar asked Jan 06 '12 15:01

Anirudh Ramanathan


1 Answers

Clearing the cache fixed it. In windows 7 the cache is located in

C:\Users\username\AppData\Local\NetBeans\...

On Linux, the cache is at:

/home/username/.cache/netbeans/...

On clearing the cache, and restarting netbeans, it started to recognize org.* imports again.

like image 124
Anirudh Ramanathan Avatar answered Sep 19 '22 16:09

Anirudh Ramanathan