title: Install Spark in Eclipse IDE using Maven
body: <p>I am trying to use Spark for my project.</p>
  
  <pre><code>import static spark.Spark.*;
  //cannot be resolved
  </code></pre>
  
  <p>I am using Maven to build my project.
  This is my pom.xml content.</p>
  
  <pre><code>&lt;!-- Spark dependency --&gt;
  &lt;dependency&gt; 
       &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
       &lt;artifactId&gt;spark-core_2.11&lt;/artifactId&gt;
       &lt;version&gt;2.1.1&lt;/version&gt;
       &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
      &lt;groupId&gt;com.sparkjava&lt;/groupId&gt;
      &lt;artifactId&gt;spark-core&lt;/artifactId&gt;
      &lt;version&gt;2.5&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;!-- End Spark dependency --&gt;
  </code></pre>