ceylon/ceylon-ide-eclipse — Issue #161: Cannot run programs
Author: FroMage
Created: 2012-02-09 09:00:06+00:00
State: open
Labels: bug, high priority

I'm trying to run my Ceylon file and I get the following:

```
Exception in thread "main" java.lang.NoClassDefFoundError: com/redhat/ceylon/compiler/java/test/interop/testURL
Caused by: java.lang.ClassNotFoundException: com.redhat.ceylon.compiler.java.test.interop.testURL
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: com.redhat.ceylon.compiler.java.test.interop.testURL. Program will exit.
```

Not sure what the real issue is, but in any case a more helpful error message would be nice. I'm also going to guess that you're not using the `ceylon-runtime` that deals with dependencies and stuff (though that's probably not the issue here).