title: Problems Importing Scala Libraries In Intellij
body: <p>I am trying to import a project into intellij. I am using a java sdk and am trying to import the scala libraries. When I try to run my code I get </p>
  
  <pre><code>Warning:scala: skipping Scala files without a Scala SDK in module(s) main
  </code></pre>
  
  <p>When I try to add the scala libray:</p>
  
  <pre><code>File&gt;Project Structure&gt;Global Libraries&gt;+&gt;scala-sdk(2.11.7)&gt;Apply
  </code></pre>
  
  <p>I get another error message:</p>
  
  <pre><code>Module "lab1"
  must not contain source root "C:\Users\Andrew\lab1\src\main\scala".
  The root already belongs to module "main"
  </code></pre>
  
  <p>This is my first time using this IDE so I am a bit lost. </p>