[ https://issues.jenkins-ci.org/browse/JENKINS-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162591#comment-162591 ]
Liam Staskawicz commented on JENKINS-9679: ------------------------------------------ Would love to see this addressed or elevated in priority - this is a critical component of putting together a master/slave cluster, and has been known for just about a year now. I say this without being able to fix it myself of course :) but this would be a great help to people setting up multi configuration systems. > NoClassDefFoundError on Base64 when launching an headless slave with > -jnlpCredential option > ------------------------------------------------------------------------------------------- > > Key: JENKINS-9679 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9679 > Project: Jenkins > Issue Type: Bug > Components: core > Affects Versions: current > Environment: Jenkins 1.411 / MacOS X / JDK 1.6.0_24 > Jenkins 1.412 / Master: Ubuntu 10.04, / Slave: Windows Server 2008 x64, JDK > 1.6.0_20 > Jenkins 1.424.2 / Master: CentOS 5.5, / Slave: Windows Server 2008 R2 x64, > JDK 1.6.0_21 > Reporter: Olivier Mansion > > When launching a headless slave, a NoClassDefFoundError on > org/apache/commons/codec/binary/Base64 is raised when specifying the > -jnlpCredential option: > $ java -jar slave.jar -jnlpUrl <url> -jnlpCredentials <user>:<password> > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/commons/codec/binary/Base64 > at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:221) > at hudson.remoting.Launcher.run(Launcher.java:192) > at hudson.remoting.Launcher.main(Launcher.java:168) > Caused by: java.lang.ClassNotFoundException: > org.apache.commons.codec.binary.Base64 > 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) > ... 3 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira