Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spark: NoClassDefFoundError: net/sandrogrzicic/scalabuff/Message #110

Open
wailyk opened this issue Apr 10, 2015 · 1 comment
Open

Spark: NoClassDefFoundError: net/sandrogrzicic/scalabuff/Message #110

wailyk opened this issue Apr 10, 2015 · 1 comment

Comments

@wailyk
Copy link

wailyk commented Apr 10, 2015

I tried to use ScalaBuff with Apache Spark. when I use scala classes on my project I get this error
NoClassDefFoundError: net/sandrogrzicic/scalabuff/Message

SBT:
name := "untitled1"
version := "1.0"
scalaVersion := "2.10.4"
libraryDependencies += "net.sandrogrzicic" %% "scalabuff-runtime" % "1.4.0"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "1.3.0-SNAPSHOT"

Any thoughts ?

Thanks!

@wailyk
Copy link
Author

wailyk commented Apr 12, 2015

Solved:
sc.addJar("PATH/protobuf-java-2.x.x.jar")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant