0

I am trying to learning Scala with Spark. I am following a tutorial but I am having an error, when I try to import the library dependencies of Spark:

libraryDependencies += "org.apache.spark" %% "spark-core" % "2.4.3"

I am getting the following error:

Error librarydpendencies

And I have 3 Unkwons artifacts.

Unkwons artifacts

What could be the problem here?

My code is so simple, it is just a Hello World.

Tomer Shetah
  • 8,413
  • 7
  • 27
  • 35
MLstudent
  • 89
  • 6

1 Answers1

1

Probably you need to add to your build.sbt:

resolvers += "spark-core" at "https://mvnrepository.com/artifact/org.apache.spark/spark-core"

Please note that this library is supported only for Scala 2.11 and Scala 2.12.

Tomer Shetah
  • 8,413
  • 7
  • 27
  • 35