IntelliJ not recognizing classes of other maven modules

I am developing an application with multiple java modules and when I try to use class of another module, that I have a dependency on java does not recognize it. It used to recognize it, but since I updated versions of the modules this does not work. I tried reimporting everything, but it doesn't work. I am working on IntelliJ

Comments

IntelliJ is not the perfect IDE but probably the best one out there.
Djordje Bulatovic - Fri, 12/11/2020 - 13:34 :::
1 answer

Intellij has a lot of interesting features and for that it makes use of cache. That sometimes makes problems like this. After invalidating caches and restarting IntelliJ the dependencies that were cached are removed and updated on the next compiling, and these errors were fixed.