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/
What you should do is, create a Java Project, but make sure you put this file in the package file of that project, otherwise you'll encounter same error.