The Eclipse plug-in for Scala makes you jump through two hoops before letting you run your application from the Run... menu:
- Your main object must extend Application.
- Since main is now overridden, you must use the override keyword on the method definition.
package activeactive object Main extends Application { override def main(args:Array[String]) { println("Hello World!") } }
Comments