NoSuchMethodError: org.apache.commons.codec.binary.Base64

469 views
Skip to first unread message

LucP

unread,
Oct 6, 2011, 4:03:10 AM10/6/11
to Jenkins Users
From all projects we have I have one multi-module maven project that
builds OK in Jenkins (it is in fact still pre-split Hudson 1.394) but
after the build is OK I always get the following error and the job
fails. This problem was already reported before but no solution was
given. Does anyone have an idea how to solve this. I checked the pom's
but they look OK


ERROR: Asynchronous execution failure
channel stopped
ERROR: Failed to parse POMs
java.io.IOException: Remote call on Channel to Maven [C:\Program Files
(x86)\Java\jdk1.6.0_23/bin/java, -Xms512m, -Xmx1536m, -Dlogdir=d:/
LogFiles, -cp, D:\dev.env\dev\hudson\plugins\maven-plugin\WEB-INF\lib
\maven-agent-1.394.jar;D:\dev.env\apps\apache-maven-2.2.1\boot
\classworlds-1.1.jar, hudson.maven.agent.Main, D:\dev.env\apps\apache-
maven-2.2.1, D:\dev.env\apps\apache-tomcat-7.0.5\webapps\hudson\WEB-INF
\lib\remoting-1.394.jar, D:\dev.env\dev\hudson\plugins\maven-plugin
\WEB-INF\lib\maven-interceptor-1.394.jar, 58093, D:\dev.env\dev\hudson
\plugins\maven-plugin\WEB-INF\lib\maven2.1-interceptor-1.2.jar] failed
at hudson.remoting.Channel.call(Channel.java:638)
at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:156)
at hudson.maven.MavenModuleSetBuild
$RunnerImpl.doRun(MavenModuleSetBuild.java:646)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:
417)
at hudson.model.Run.run(Run.java:1362)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:405)
at hudson.model.ResourceController.execute(ResourceController.java:
88)
at hudson.model.Executor.run(Executor.java:145)
Caused by: java.lang.NoSuchMethodError:
org.apache.commons.codec.binary.Base64.<init>(I[B)V
at
org.apache.commons.codec.binary.Base64OutputStream.<init>(Base64OutputStream.java:
97)
at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:178)
at hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:156)
at hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:
157)
at hudson.util.StreamTaskListener._error(StreamTaskListener.java:132)
at hudson.util.StreamTaskListener.error(StreamTaskListener.java:141)
at hudson.maven.MavenBuilder.call(MavenBuilder.java:183)
at hudson.maven.MavenModuleSetBuild
$Builder.call(MavenModuleSetBuild.java:868)
at hudson.maven.MavenModuleSetBuild
$Builder.call(MavenModuleSetBuild.java:799)
at hudson.remoting.UserRequest.perform(UserRequest.java:114)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:270)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Reply all
Reply to author
Forward
0 new messages