spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SK <skrishna...@gmail.com>
Subject sbt package, NoClassDefFoundError
Date Fri, 02 May 2014 03:21:03 GMT
When I run sbt/sbt package and then execute

./bin/run-example org.apache.spark.examples.SparkPi local

I get a NoClassDefFoundError.

However, when I run sbt/sbt assembly and create the fat jar and run the
above command, I am able to run it correctly. Creating a fat jar each time
takes a lot of time to create the package. So I would prefer to use sbt/sbt
pacakge. How can I fix the NoClassDefFound error?

thanks 



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/sbt-package-NoClassDefFoundError-tp5202.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Mime
View raw message