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/
In Eclipse, make sure you add your source folder in the project properties -> java build path -> source. Otherwise, the main() function may not be included in your project.