title: Scala IDE and Apache Spark -- different scala library version found in the build path
body: <p><br />
  I have some main <code>object</code>:</p>
  
  <pre><code>import org.apache.spark.SparkConf
  import org.apache.spark.SparkContext
  import org.apache.spark.SparkContext._
  
  object Main {
  
    def main(args: Array[String]) {
          val sc = new SparkContext(
                new SparkConf().setMaster("local").setAppName("FakeProjectName")
          )
    }
  }
  </code></pre>
  
  <p><br />
  ...then I add <code>spark-assembly-1.3.0-hadoop2.4.0.jar</code> to the build path in Eclipse from<br /><br />
  <kbd>Project</kbd> > <kbd>Properties...</kbd> > <kbd>Java Build Path</kbd> :
  <br /><br />
  <img src="https://i.stack.imgur.com/nYdcf.png" alt="Java Build Path error">
  <br /><br />
  ...and this warning appears in the Eclipse console:</p>
  
  <pre><code>More than one scala library found in the build path
  (C:/Program Files/Eclipse/Indigo 3.7.2/configuration/org.eclipse.osgi/bundles/246/1/.cp/lib/scala-library.jar,
  C:/spark/lib/spark-assembly-1.3.0-hadoop2.4.0.jar).
  This is not an optimal configuration, try to limit to one Scala library in the build path.
  FakeProjectName Unknown Scala Classpath Problem
  </code></pre>
  
  <p><br />
  Then I remove <code>Scala Library [2.10.2]</code> from the build path, and it still works. Except now this warning appears in the Eclipse console:</p>
  
  <pre><code>The version of scala library found in the build path is different from the one provided by scala IDE:
  2.10.4. Expected: 2.10.2. Make sure you know what you are doing.
  FakeProjectName Unknown Scala Classpath Problem
  </code></pre>
  
  <p><br />
  Is this a non-issue? Either way, how do I fix it?
  <br /></p>