this seems a bit silly but I can't figure out what is happening in my intelliJ project. The spark dependencies seem not to be set well. I searched a lot in here without finding the right answer.
In build.sbt:
libraryDependencies += "junit" % "junit" % "4.10" % Test
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.1.0",
"org.apache.spark" %% "spark-sql" % "2.1.0"
I get the message when hovering, "Unknown Artifact. Not Resolved or Indexed". I found an article in here ("Unknown artifact. Not resolved or indexed" error for scalatest) talking about updating the revolvers but I couldn't find the table shown in the link. I tried to refresh the project without any improvement. I tried to add the dependency automatically by a right-click on import org.apache.spark.sparkconfig, but the response is that it can't find the library. However, I can see the library in the project architecture (root build).
in the class.scala:
import org.apache.spark.SparkConf // sparkConf in red
import org.apache.spark.SparkContext
import org.apache.spark.SparkContext._
import org.apache.spark.rdd.RDD
Any advice? It is blocking me. I appreciate any help... :)