Thursday, December 3, 2015

IntelliJ IDEA : Error:scalac: Output path is shared between:Module .... , Output path is shared between: Module .... Please configure separate output paths to proceed with the compilation.

You may challenged by this error during your work with IntelliJ IDEA

Output path  is shared between:Module .... ,  Output path  is shared between: Module .... Please configure separate output paths to proceed with the compilation.
TIP: you can use Project Artifacts to combine compiled classes if needed.



Cause 

This is because of existing multiple modules in the same IntelliJ IDEA project.

Solution

Remove other modules and keep single module file in IntelliJ IDEA project




Delete all other iml files without your project name (Project may be refactored to another one. Here Two modules available, SparkCDH and sparkcdh. Do not delete iml file with "-build" ) The result will be like follows.




Now you can run the project without multiple module shared error.





3 comments:

  1. Thank you for the empowering messages and uplifting content you share – they brighten my day and lift my spirits! Step into the world of Unblocked Retro Bowl and immerse yourself in the excitement of the game!

    ReplyDelete
  2. Really appreciate your effort in sharing this kind of informative post, it’s well-written. Read this article for more content like this. PlayVio is a platform where you can play online games.

    ReplyDelete