spark-user mailing list archives

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

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


same error as above

3) The solution I found was here:

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

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!



View raw message