spark sbt compile error libraryDependencies

后端 未结 3 1960
无人及你
无人及你 2021-01-25 00:18

1.2.0-bin-hadoop2.4 and my Scala version is 2.11.7. I am getting an error so I can\'t use sbt.

~/sparksample$ sbt

3条回答
  •  误落风尘
    2021-01-25 00:21

    As @Till Rohrmann suggested you there's no such thing as spark-core_2.11.7 and your build.sbt appears to reference that library.

    I suggest you to edit the file /home/beyhan/sparksample/build.sbt and remove the references to that library.

    The correct reference is:

    libraryDependencies += "org.apache.spark" % "spark-core_2.11" % "1.2.0"
    

    Remember that not only spark-core does not have any version 2.11.7 but also other spark libraries that you might be using.

提交回复
热议问题