spark-core 1.6.1 & lift-json 2.6.3 java.lang.NoClassDefFoundError
<p>I have a Spark application which has a sbt file just like below.<br>
It works on my local machine. But when I submit it to EMR running Spark 1.6.1, an error occured like below:</p>

<pre><code>java.lang.NoClassDefFoundError: net/liftweb/json/JsonAST$JValue
</code></pre>

<p>I am using "sbt-package" to get jar<br><br>
Build.sbt:</p>

<pre><code>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"
)
</code></pre>

<p>Do you have any idea about what’s happening?</p>