I'm using IntelliJ ultimate 2020.1.2.

When on any reason one of dependency is removed from .m2 or missing, it couldn't recognize the changes and reimport it again.

I have already tried with reimports button but no effect and I think invalidating cashes may will help but this is not an option for me due to re indexing consumes time.

Is there any other way to set up in IntelliJ or using any command/button to force IntelliJ to perform reimporting ?

1

There are 1 best solutions below

0
On

As a temporary solution just I used invalidating cashes and restated IntelliJ.