spark-core 1.6.1 & lift-json 2.6.3 java.lang.NoClassDefFoundError
I have a Spark application which has a sbt file just like below. It works on my local machine. But when I submit it to EMR running Spark 1.6.1, an error occured like below: java.lang.NoClassDefFoundError: net/liftweb/json/JsonAST$JValue I am using "sbt-package" to get jar Build.sbt: organization := "com.foo" name := "FooReport" version := "1.0" scalaVersion := "2.10.6" libraryDependencies ++= Seq( "org.apache.spark" %% "spark-core" % "1.6.1" ,"net.liftweb" % "lift-json_2.10" % "2.6.3" ,"joda-time" % "joda-time" % "2.9.4" ) Do you have any idea about what’s happening? I' ve found a solution and