[JIRA] Commented: (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] Commented: (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:comment-tabpanel&focusedCommentId=145766#comment-145766 ]

uzilan commented on JENKINS-8587:

Got it :)

The problem occurred when no jvm arguments were given. Resolved in version 1.2.

Thanks for reporting this issue and sorry for doubting your project's sbt compatibility.

> 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
>         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- -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