Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » ClassNotFoundException on Hudson 3.3.3 using Maven 3.1.1
ClassNotFoundException on Hudson 3.3.3 using Maven 3.1.1 [message #1805983] Mon, 29 April 2019 18:10
Shubhanshu Kumar is currently offline Shubhanshu KumarFriend
Messages: 1
Registered: April 2019
Junior Member

I recently updated my hudson to 3.3.3 and configured it to use maven 3.1.1. My builds fail as soon as mvn clean install runs with following stack trace:

hudson.util.IOException2: java.lang.reflect.InvocationTargetException
at hudson.remoting.UserRequest.perform(
at hudson.remoting.UserRequest.perform(
at hudson.remoting.Request$
at java.util.concurrent.Executors$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(
... 9 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(
... 10 more
Caused by: java.lang.NoClassDefFoundError: org/apache/maven/cli/MavenLoggerManager
at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(
... 17 more
Caused by: java.lang.ClassNotFoundException: org.apache.maven.cli.MavenLoggerManager
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(
... 18 more

NOTE: I am able to build my project on my local machine using maven 3.1.1.
Please let me know how to fix this.
Previous Topic:Build is taking very long time and failing
Next Topic:Hudson exception after successful build
Goto Forum:

Current Time: Wed Jan 20 14:39:54 GMT 2021

Powered by FUDForum. Page generated in 0.02073 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top