spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SK <>
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?


View this message in context:
Sent from the Apache Spark User List mailing list archive at

View raw message