UNRESOLVED DEPENDENCIES error while trying to create jar

后端 未结 5 1276
萌比男神i
萌比男神i 2021-02-04 02:14

I\'m trying to build a Scala jar file to run it in spark.
I\'m following this tutorial.
when trying to build jar file using sbt as here, i\'m facing with following error

5条回答
  •  不知归路
    2021-02-04 02:48

    spark-core_2.10.4;1.0.2 means that it is build on top of scala 2.10 vesion. so you have to specified this scalaVersion := "2.10.4" in your build file. Please check your .sbt file and change accordingly.

提交回复
热议问题