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

Reply via email to