[JIRA] Resolved: (JENKINS-8587) Exception in thread "main" java.lang.NoClassDefFoundError

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (JENKINS-8587) Exception in thread "main" java.lang.NoClassDefFoundError

JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-8587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

uzilan resolved JENKINS-8587.
-----------------------------

    Fix Version/s: current
       Resolution: Fixed

resolved in 1.2

> Exception in thread "main" java.lang.NoClassDefFoundError
> ---------------------------------------------------------
>
>                 Key: JENKINS-8587
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8587
>             Project: Jenkins
>          Issue Type: Bug
>          Components: sbt
>    Affects Versions: current
>            Reporter: uzilan
>            Assignee: uzilan
>             Fix For: current
>
>         Attachments: sbt-hudson-console-log.txt
>
>
> (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.)

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira