IntelliJ Java compile can't find symbol of attached modules
-
21-12-2019 - |
Question
I love the hot swap feature of Java and i'm using it a lot while debugging. I can't compile single classes that contains references to a class from another module in IntelliJ though (with CTRL + SHIFT + F9). The error I get is the common java: cannot find symbol. Seems that the compiler doesn't see the other module.
The module is included under Project structure. Should I configure something else?
Solution
Compilation with dependencies works only using Build | Make.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow