Note that there are some explanatory texts on larger screens.

plurals
  1. POClass not being built using Scala Eclipse plug-in
    primarykey
    data
    text
    <p>I'm trying to use the Scala Eclipse plug-in (version 1.1.0, which appears to be the most current) with version 3.7 of Eclipse on Mac OS X 10.6.8. I've copied the "Hello, World" program from a <a href="http://www.vogella.de/articles/Scala/article.html" rel="nofollow noreferrer">tutorial website</a>. I was able to build the program successfully using the command-line <code>scalac</code> compiler. However, when I attempt to run the project as a Scala application from within Eclipse, I get an error like so:</p> <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: de/vogella/scala/first/Hello </code></pre> <p>with a bunch more stuff following. Looking in the relevant directory structure in my Eclipse workspace directory shows that the associated <code>bin</code> directory is completely empty. However, there are no errors (and indeed no messages of any sort) when I select "Build Project" from the menu. </p> <p>As far as I can tell, my Eclipse installation is otherwise functional. I can, for instance, successfully build and run Java projects.</p> <p>Any tips on where to start with troubleshooting would be greatly appreciated. Trying the suggested solutions in the most <a href="https://stackoverflow.com/questions/2535320/noclassdeffounderror-using-scala-plugin-for-eclipse">relevant-seeming existing question</a> didn't work.</p> <p><strong>EDIT</strong> to add: There isn't anything in the Error Log window except this:</p> <pre><code>System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences </code></pre> <p>which doesn't strike me as terribly relevant. The full text, as copied from the tutorial, of the <code>Hello.scala</code> file, is</p> <pre><code>package de.vogella.scala.first object Hello { def main (args: Array[String]) { println("Hello, world!") } } </code></pre> <p>and the package the file is a part of is called <code>de.vogella.scala.first</code>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload