The Scala Eclipse plugin is in development, so we can forgive little issues. One I keep running into is that programs sometimes can’t find themselves upon start. On the canonical hello-world program, I see:
Exception in thread “main” java.lang.NoClassDefFoundError: HelloWorld
Caused by: java.lang.ClassNotFoundException: HelloWorld
So far, the only explanation I’ve found from searching the web is that the metadata is horked, so the workspace must be nuked from orbit, that being the only way to be sure. I’ve tried it and it works, but this approach is hardly practical for production coding.
After I changed the default output folder for the project to “classes” instead of “bin” it worked for me.