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/
I had the same problem. I tried all sorts of things. And I came to know that
Things I did:
Project properties >> Java Build Path >> Source
This solved the error.