title: Spark MLlib in java does not work
body: <p>My problem is that I have downloaded Apache Spark for java and create a dependency:</p>
  
  <pre><code>&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.3.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Everything works fine, but I cannot import MLlib from Apache Spark. I tried for example:</p>
  
  <pre><code>import org.apache.spark.ml.linalg.Vectors;
  </code></pre>
  
  <p>But I have a message "Cannot resolve symbol 'ml'". What is the solution for this problem?</p>