Running scala examples

83 views
Skip to first unread message

Mohit Singh

unread,
Mar 21, 2013, 2:38:02 PM3/21/13
to twitter-...@googlegroups.com
Hi,
  I wanted to try cassovary scala  examples.
I might be doing something very stupid but here is the issue I ran into while running the script.
Plainly running that script throws an error "./build_run_example.sh: 34: ./build_run_example.sh: Syntax error: "(" unexpected"

Running that script specifically with bash throws the error:

thrift@markov:~/Documents/projects/cassovary/examples/scala$ bash build_run_example.sh 
root is /home/thrift/Documents/projects/cassovary
Downloading dependent jars...
[info] Loading project definition from /home/thrift/Documents/projects/cassovary/project
[info] Set current project to cassovary (in build file:/home/thrift/Documents/projects/cassovary/)
[success] Total time: 0 s, completed Mar 21, 2013 11:34:17 AM
Building Cassovary jar...
[info] Loading project definition from /home/thrift/Documents/projects/cassovary/project
[info] Set current project to cassovary (in build file:/home/thrift/Documents/projects/cassovary/)
[success] Total time: 0 s, completed Mar 21, 2013 11:34:19 AM
Compiling HelloGraph ...
Running HelloGraph...
Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.augmentString(Ljava/lang/String;)Ljava/lang/String;
at HelloGraph$.main(HelloGraph.scala:24)
at HelloGraph.main(HelloGraph.scala)

Any suggestions.
Thanks

Mohit Singh

unread,
Mar 21, 2013, 2:45:53 PM3/21/13
to twitter-...@googlegroups.com
Update 1: The java HelloGraph script works fine .... issue with scala persists.

Ajeet Grewal

unread,
Mar 21, 2013, 10:09:40 PM3/21/13
to twitter-...@googlegroups.com
What version of java are you running?


--
You received this message because you are subscribed to the Google Groups "Cassovary" group.
To unsubscribe from this group and stop receiving emails from it, send an email to twitter-cassov...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Regards,
Ajeet
Reply all
Reply to author
Forward
0 new messages