Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Rebuild does not find some JDK classes but build does

$
0
0

Hi,

 

I have a weird problem. In one of my projects a compile error suddenly appeared when issuing a "Rebuild":

 

java: /Users/krueger/repos/de.lesspain.mediatool/de.lesspain.mediatool/src/de/lesspain/mediatool/browser/BrowseViewPartImpl.java:905: cannot find symbol

symbol  : class JButton

location: class de.lesspain.mediatool.browser.BrowseViewPartImpl

 

The referenced class is javax.swing.JButton and is included and in the editor I can navigate the link without problems.

 

When I then hit "Make Project" the error (and all the ones that are caused by it) goes a way. This is reproducible. I even tried clearing my cache and restarting but nothing helped.

 

Upgrading to version 13 (Community Edition) did not change anything either. I am working on Mac OSX with Apple's JDK6.

 

Any idea anyone?

 

Regards,

 

Robert


Viewing all articles
Browse latest Browse all 5661

Trending Articles