Java maven Project Compiles fine, but cannot find definition of classes from the editor

Answered

I have a java maven project , which compiles and runs fine.

However when i open any java class, which references another class, and try to look at the definition of that class, it shows an error indicating "cannot find declaration to go to"

Not sure if i am missing anything.

Using IntelliJ Idea 2020.1.2 community edition

Thanks for any pointers.

 

Best Regards

Ani

0
1 comment

As a general troubleshooting step, please try clearing caches (File | Invalidate caches and Restart)

Next, please update IntelliJ IDEA to 2020.2.2 where similar bug has been fixed. 

Do you still see the issue? If so, please provide a sample project where this could be reproduced. 

0

Please sign in to leave a comment.