scopt

NoClassDefFoundError while using scopt OptionParser with Spark

这一生的挚爱 提交于 2020-01-14 09:33:13
问题 I am using Apache Spark version 1.2.1 and Scala version 2.10.4. I am trying to get the example MovieLensALS working. However, I am running into errors with scopt library which is a requirement in the code. Any help would be appreciated. My build.sbt is as follows: name := "Movie Recommender System" version := "1.0" scalaVersion := "2.10.4" libraryDependencies += "org.apache.spark" %% "spark-core" % "1.2.1" libraryDependencies += "org.apache.spark" %% "spark-graphx" % "1.2.1"