Output path is shared between the same module error
all you need to do is:
- synchronize both modules (right click > Synchronize)
- re-import pom.xml for both modules (right click > Maven > Re Import)
Enjoy
Set up the output paths for your modules to different directories, as explained here: https://www.jetbrains.com/idea/help/configuring-module-compiler-output.html
On Project "Open Module Settings" -> Modules -> Paths -> Output/Test path