title: Kotlin/IntelliJ Modules with Shared Content Root
body: <p>I'm working on a project in IntelliJ Idea using Kotlin.  I'm trying to create a unit test for a Kotlin class, and I can create the class, except that when I run the test, I get an error that there is no JDK configured.  I go into the project structure and change the JDK for the module, but when I click on Apply, I get a message saying that :</p>
  
  <blockquote>
    <p>Content root
    "C:\Users\2rtmar\Documents\xproject\xproject\examples\src\main" is
    defined for modules "xproject-examples-utils_main" and
    "xproject-examples-java_main".  Two modules in a project cannot share
    the same content root.</p>
  </blockquote>
  
  <p>Another team member had said that these modules were faulty, and that they couldn't be used, but I'm not using them and still prevent me from running my code.  I tried to unmark this module as a sources root, but did not fix the problem.  I went as far as to removing the xproject\examples module entirely, but received the same message when trying to set the JDK of my module.  </p>
  
  <p>Any help is appreciated!</p>