Just going through the sample Scala code on Scala website, but encountered an annoying error when trying to run it.
Here\'s the code: http://www.scala-lang.org/node/
Have faced the similar issue, resolved this by right clicking on the main method in the outline view and run as Java application.