IntelliJ IDEA with Kotlin cannot access class required by another module
I'm creating a new Kotlin project with multiple modules and there are issues when I try to run one of the modules from IntelliJ IDEA.
To leave the structure simple, I got module A and module B.
module B configures and returns log4j2 Logger instance.
module A is calling module B method to get logger and uses Logger directly after this.
When I create a fat jar and launch methods from module A everything works fine and logging is working but when I try to launch module A method from IntelliJ...