users@grizzly.java.net

ClassNotFoundException while building maven project

From: David Alves <dalves_at_dei.uc.pt>
Date: Fri, 25 Sep 2009 07:56:01 +0100

Hi

        I'm using the latest version of hudson (downloaded today) and I
installed on top of a previous version (+/- one year old) and I
upgraded all plugins (maven plugin included which is now in the same
version as hudson). I'm running ubuntu.

        I seeing this strange problem across all my maven builds:

        Parsing POMs
$ /usr/lib/jvm/java-6-sun/bin/java -DhudsonBuild=true -cp /home/store/
work/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.324.jar:/
usr/share/maven2/boot/classworlds.jar hudson.maven.agent.Main /usr/
share/maven2 /home/store/work/jboss/server/default/tmp/deploy/
tmp8780737731579048595hudson-exp.war/WEB-INF/lib/remoting-1.324.jar /
home/store/work/hudson/plugins/maven-plugin/WEB-INF/lib/maven-
interceptor-1.324.jar 40744
<===[HUDSON REMOTING CAPACITY]===>channel started
channel stopped
ERROR: Failed to parse POMs
java.io.IOException: Remote call failed
        at hudson.remoting.Channel.call(Channel.java:545)
        at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:152)
        at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun
(MavenModuleSetBuild.java:478)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:
354)
        at hudson.model.Run.run(Run.java:1123)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:302)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:123)
Caused by: java.lang.NoClassDefFoundError: hudson/maven/agent/
PluginManagerInterceptor
        at hudson.maven.MavenBuilder.call(MavenBuilder.java:212)
        at hudson.maven.MavenModuleSetBuild$Builder.call
(MavenModuleSetBuild.java:686)
        at hudson.maven.MavenModuleSetBuild$Builder.call
(MavenModuleSetBuild.java:632)
        at hudson.remoting.UserRequest.perform(UserRequest.java:104)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:244)
        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:619)


can anyone help? please?

Regards
David R Alves