orfjackal/idea-sbt-plugin — Issue #52: SBT cannot be started due to NoClassDefFoundError
Author: sirthias
Created: 2011-12-07 15:31:42+00:00
State: open

**OSX 10.7.2, IDEA 10.5.4 and SBT 0.11.2**

After configuring the path to `sbt-launch.jar` and clicking the "Start SBT" button I always get this exception:

Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
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)

Note that, if I configure a 'bad' path (to a non-existing JAR), nothing happens upon the click of the start button. I only get the CNFE if the path to the launch JAR is correct.

What would be the best way to further dig into finding the root cause of this issue?