-
Bug
-
Resolution: Unresolved
-
Major
-
None
(Copied from https://github.com/hudson/sbt-plugin/issues#issue/1)
I'm having problems running sbt from Hudson 1.395. Console output says:
[workspace] $ /usr/lib/jvm/java-6-sun-1.6.0.22/bin/java -Dsbt.log.noformat=true -jar /home/matt/Downloads/local-root/bin/sbt-launch-0.7.4.jar clean update compile test 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:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: . Program will exit.
Finished: FAILURE
Running the same sbt command at the shell works fine, however. (Let me know if I can provide other relevant info.)