Project builds fine, but errors in editor are still highlighted.

Hi,

I'm working on a jfx (java8ea) project. After another update of jdk I got bunch of strange error messages (red underlines of class names) in editors -

Class 'XXX' must either be declared abstract or implement abstract method 'impl_createPeer()' in 'Node'.

Both interal Build->Rebuild project and external maven build finish without any error. The question is how to get rid of those nasty in-editor errors?

Thank you!

2 comments

Have you invalidated the cahces (File > Invalidate Cache) and restarted? It's possible the indexes are corrupt (or invalid) following the JDK update. That can happen if you update the JDK on disk but use the same JDK definition in IDEA.

0

Yes! Invalidating caches helped! Thank you very much!

0

Please sign in to leave a comment.