title: java.lang.NoSuchMethodError: main when starting HelloWorld with Eclipse Scala plugin
body: <p>I've just been playing with Scala, and installed the Eclipse plugin as described at <a href="http://www.scala-lang.org/node/94" rel="nofollow noreferrer">http://www.scala-lang.org/node/94</a>, but after entering the "Hello World" test example and setting up the run configuration as described, I get the following error</p>
  
  <pre><code>Exception in thread "main" java.lang.NoSuchMethodError: main
  </code></pre>
  
  <p>For reference the code is</p>
  
  <pre><code>package hello
  
  object HelloWorld extends Application {
    println("Hello World!")
  }
  </code></pre>
  
  <p>I've tinkered a bit with the obvious solutions (adding a main method, adding a singleton object with a main method) but I'm clearly doing something wrong.</p>
  
  <p>Can anyone get their test example to work, or point out what I am doing wrong?</p>