Successfully compiles but Exception while running example

31 views
Skip to first unread message

Kaushik R

unread,
Dec 20, 2013, 4:16:24 PM12/20/13
to twitter-...@googlegroups.com
Hi,

I'm trying to run the example on my MAC (and also on my Linux machine) and I get the following error. I'm using sbt launcher v 0.12.1. Has anyone faced a similar issue or can help me here?

Compiling HelloGraph ...
Running HelloGraph...
Generating a complete directed graph with 100 nodes...
Exception in thread "main" java.lang.NoClassDefFoundError: scala/reflect/ClassManifest
    at com.twitter.cassovary.graph.TestNode.<init>(TestNode.scala:16)
    at com.twitter.cassovary.graph.TestGraphs$.<init>(TestGraph.scala:49)
    at com.twitter.cassovary.graph.TestGraphs$.<clinit>(TestGraph.scala)
    at HelloGraph$.main(HelloGraph.scala:26)
    at HelloGraph.main(HelloGraph.scala)
Caused by: java.lang.ClassNotFoundException: scala.reflect.ClassManifest
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 5 more

Thanks,
Kaushik
Reply all
Reply to author
Forward
0 new messages