I'm using Eclipse Scala plugin. I created a simple program:
object HelloWorld { override def main(args: Array[String]) { println("Hello World!") } } I can run this program from the menu: Run As -> Scala Application
However, with this code
object HelloWorld extends Application { println("Hello world!") } I get this error message: "Selection does not contain a main type"
Does anyboby know how to solve this?