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.