spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Su She <suhsheka...@gmail.com>
Subject Re: Running Scala Word Count Using Maven
Date Mon, 16 Mar 2015 07:21:42 GMT
Hello,


So actually solved the problem...see point 3.

Here are a few approaches/errors I was getting:

1) mvn package exec:java -Dexec.mainClass=HelloWorld

Error: java.lang.ClassNotFoundException: HelloWorld

2)
http://stackoverflow.com/questions/26929100/running-a-scala-application-in-maven-project

same error as above

3) The solution I found was here: http://www.scala-lang.org/old/node/345

It seems to be similar to 2, but the build seems to include a few more
things.

So it does seem that a few things have to be added to the pom for it to
work for scala, this was something I was a bit confused about after reading
the book.

Thanks for the help!

Best,

Su

Mime
View raw message