Answer the question
In order to leave comments, you need to log in
Why can't intellij IDEA see libraries connected with maven?
Hello.
I'm learning spark, got to the ml library, registered the dependency in maven, it seems to have downloaded and indexed it.
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-mllib_2.12</artifactId>
<version>3.0.0</version>
<scope>runtime</scope>
</dependency>
Maven: org.apache.spark:spark-mllib_2.12:3.0.0
Maven: org.apache.spark:spark-mllib-local_2.12:3.0.0
import org.apache.spark.ml.feature.VectorAssembler;
import org.apache.spark.ml.linalg.Vectors;
Cannot resolve symbol 'VectorAssembler'
Cannot resolve symbol 'Vectors'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question