UNRESOLVED DEPENDENCIES error while trying to create jar

后端 未结 5 1278
萌比男神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:43

    I had the same issue. Looks like that some bugs are in different versions/compilations/etc.

    For me the following build.sbt worked fine

    name := "My Project"  
    version := "1.0"  
    scalaVersion := "2.11.8"  
    libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.3.2"  
    

    Hope it helps

提交回复
热议问题