Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » hudson job failing
hudson job failing [message #1219910] Fri, 06 December 2013 16:21 Go to next message
nagesh shenishetty is currently offline nagesh shenishettyFriend
Messages: 1
Registered: December 2013
Junior Member
Hi,

We are new to hudson, when we are running job in hudson getting below error. Can any one please help us to resolve the issue ASAP.

Found mavenVersion 3.1.1 from file jar:file:/usr/local/apache-maven/apache-maven-3.1.1/lib/maven-core-3.1.1.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs [testapp] $ /usr/java/jdk1.7.0_45/bin/java -cp /var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven3-agent-3.0.0.jar:/usr/local/apache-maven/apache-maven-3.1.1/boot/plexus-classworlds-2.5.1.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/local/apache-maven/apache-maven-3.1.1 /var/lib/hudson/war/webapp/WEB-INF/lib/hudson-remoting-3.0.1.jar /var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-3.0.0.jar 54736 <===[HUDSON REMOTING CAPACITY]===>���channel started Executing Maven: -B -f /var/lib/hudson/jobs/New Maven Job1/workspace/branches/testapp/pom.xml install java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:146) at hudson.maven.Maven3Builder.call(Maven3Builder.java:124) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:107) at hudson.remoting.UserRequest.perform(UserRequest.java:41) at hudson.remoting.Request$2.run(Request.java:276) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NoClassDefFoundError: org/apache/maven/cli/MavenLoggerManager at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:73) ... 17 more Caused by: java.lang.ClassNotFoundException: org.apache.maven.cli.MavenLoggerManager at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227) ... 18 more channel stopped ERROR: Failed to parse POMs hudson.util.IOException2: java.lang.reflect.InvocationTargetException at hudson.maven.Maven3Builder.call(Maven3Builder.java:189) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:107) at hudson.remoting.UserRequest.perform(UserRequest.java:41) at hudson.remoting.Request$2.run(Request.java:276) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:150) at hudson.maven.Maven3Builder.call(Maven3Builder.java:124) ... 9 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:146) ... 10 more Caused by: java.lang.NoClassDefFoundError: org/apache/maven/cli/MavenLoggerManager at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:73) ... 17 more Caused by: java.lang.ClassNotFoundException: org.apache.maven.cli.MavenLoggerManager at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227) ... 18 more Finished: FAILURE


Thanks,
Nagesh S
Re: hudson job failing [message #1222554 is a reply to message #1219910] Fri, 20 December 2013 19:07 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 434
Registered: August 2011
Location: Fremont, CA USA
Senior Member
There is an issue with maven 3.1.1 which we are working with Sonatype (maven guys) to fix. Would suggest to use maven 3.0.5

Winston Prakash
Eclipse Hudson team
Re: hudson job failing [message #1236366 is a reply to message #1219910] Mon, 27 January 2014 02:56 Go to previous messageGo to next message
maka srinivasa rao is currently offline maka srinivasa raoFriend
Messages: 2
Registered: January 2014
Junior Member
Please let me know, is this issue is resolved?. I am getting same error.
Re: hudson job failing [message #1284987 is a reply to message #1236366] Sat, 05 April 2014 03:28 Go to previous message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 434
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Did try with maven3-plugin 3.0.3?

Winston Prakash
Eclipse Hudson team
Previous Topic:Build Execution time in Hudson
Next Topic:Classpath in Hudson
Goto Forum:
  


Current Time: Thu Nov 27 20:06:57 GMT 2014

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

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