This Question is Answered

2 "helpful" answers available (2 pts)
2 Replies Last post: Jan 25, 2013 4:52 PM by paul taylor  
paul taylor Newbie 40 posts since
Jan 4, 2006
Currently Being Moderated

Jan 25, 2013 4:13 PM

Code showing all references to ecternal classes as missing but build works okay

So I had a striaghtforward single module java project working fine with Intellij Jetbrainz 12.0.1 no problem.

Then today it showed any reference to a class in an external jar in red as if it couldnt be found, although Build/Rebuild Project still worked without any errors.

I fiddled around with the dependencies, recreated the project from scratch, and then upgraded to 12.0.2 but still no improvement.

 

I recreated from scratch again

I have all my external jars in a single folder, and I add that folder to Modules/Dependencies

Without adding it build fails, if i add it the build is fine, but I still get every reference to these classes marked as red

 

Is something corrupt, how would I reset my default settings

Andriy Bazanov Master 2,638 posts since
May 28, 2010
Currently Being Moderated
Jan 25, 2013 4:47 PM in response to: paul taylor
Re: Code showing all references to ecternal classes as missing but build works okay

Please try File | Invalidate Caches -- it usually helps when such random weird bugs appear out of nowhere (especially after upgrading).

More Like This

  • Retrieving data ...