java.io.IOException: Remote call on Channel to Maven [C:\Program Files\Java\jdk1.6.0_45/bin/java, -Xmx512m, -cp, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven31-agent-1.4.jar;C:\Program Files\maven-3.1.1\boot\plexus-classworlds-2.5.1.jar;C:\Program Files\maven-3.1.1/conf/logging, jenkins.maven3.agent.Maven31Main, C:\Program Files\maven-3.1.1, C:\Program Files\Apache\Tomcat5.5\webapps\jenkins\WEB-INF\lib\remoting-2.33.jar, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven31-interceptor-1.4.jar, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.4.jar, 3033] failed

Jenkins JIRA | Marco Huber | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    If I try to build a maven3 (3.0.4 or 3.1.1) project I got the following error. So it is currently not possible to build a maven project. ERROR: POMs konnten nicht geparst werden java.io.IOException: Remote call on Channel to Maven [C:\Program Files\Java\jdk1.6.0_45/bin/java, -Xmx512m, -cp, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven31-agent-1.4.jar;C:\Program Files\maven-3.1.1\boot\plexus-classworlds-2.5.1.jar;C:\Program Files\maven-3.1.1/conf/logging, jenkins.maven3.agent.Maven31Main, C:\Program Files\maven-3.1.1, C:\Program Files\Apache\Tomcat5.5\webapps\jenkins\WEB-INF\lib\remoting-2.33.jar, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven31-interceptor-1.4.jar, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.4.jar, 3033] failed at hudson.remoting.Channel.call(Channel.java:731) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:160) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:833) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1670) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory$6 at org.apache.commons.logging.LogFactory.getSystemProperty(LogFactory.java:1485) at org.apache.commons.logging.LogFactory.initDiagnostics(LogFactory.java:1502) at org.apache.commons.logging.LogFactory.<clinit>(LogFactory.java:1739) at org.apache.commons.beanutils.ConvertUtilsBean.<init>(ConvertUtilsBean.java:157) at org.kohsuke.stapler.Stapler.<clinit>(Stapler.java:1062) at hudson.model.Result.<clinit>(Result.java:205) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:171) at com.sun.proxy.$Proxy7.<clinit>(Unknown Source) at sun.reflect.GeneratedSerializationConstructorAccessor42.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:919) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1759) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) at java.util.HashMap.readObject(HashMap.java:1030) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory$6 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:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:742) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:784) at sun.reflect.GeneratedMethodAccessor435.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:299) ... 7 more Finished: FAILURE

    Jenkins JIRA | 3 years ago | Marco Huber
    java.io.IOException: Remote call on Channel to Maven [C:\Program Files\Java\jdk1.6.0_45/bin/java, -Xmx512m, -cp, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven31-agent-1.4.jar;C:\Program Files\maven-3.1.1\boot\plexus-classworlds-2.5.1.jar;C:\Program Files\maven-3.1.1/conf/logging, jenkins.maven3.agent.Maven31Main, C:\Program Files\maven-3.1.1, C:\Program Files\Apache\Tomcat5.5\webapps\jenkins\WEB-INF\lib\remoting-2.33.jar, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven31-interceptor-1.4.jar, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.4.jar, 3033] failed
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    If I try to build a maven3 (3.0.4 or 3.1.1) project I got the following error. So it is currently not possible to build a maven project. ERROR: POMs konnten nicht geparst werden java.io.IOException: Remote call on Channel to Maven [C:\Program Files\Java\jdk1.6.0_45/bin/java, -Xmx512m, -cp, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven31-agent-1.4.jar;C:\Program Files\maven-3.1.1\boot\plexus-classworlds-2.5.1.jar;C:\Program Files\maven-3.1.1/conf/logging, jenkins.maven3.agent.Maven31Main, C:\Program Files\maven-3.1.1, C:\Program Files\Apache\Tomcat5.5\webapps\jenkins\WEB-INF\lib\remoting-2.33.jar, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven31-interceptor-1.4.jar, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.4.jar, 3033] failed at hudson.remoting.Channel.call(Channel.java:731) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:160) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:833) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1670) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory$6 at org.apache.commons.logging.LogFactory.getSystemProperty(LogFactory.java:1485) at org.apache.commons.logging.LogFactory.initDiagnostics(LogFactory.java:1502) at org.apache.commons.logging.LogFactory.<clinit>(LogFactory.java:1739) at org.apache.commons.beanutils.ConvertUtilsBean.<init>(ConvertUtilsBean.java:157) at org.kohsuke.stapler.Stapler.<clinit>(Stapler.java:1062) at hudson.model.Result.<clinit>(Result.java:205) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:171) at com.sun.proxy.$Proxy7.<clinit>(Unknown Source) at sun.reflect.GeneratedSerializationConstructorAccessor42.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:919) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1759) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) at java.util.HashMap.readObject(HashMap.java:1030) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory$6 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:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:742) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:784) at sun.reflect.GeneratedMethodAccessor435.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:299) ... 7 more Finished: FAILURE

    Jenkins JIRA | 3 years ago | Marco Huber
    java.io.IOException: Remote call on Channel to Maven [C:\Program Files\Java\jdk1.6.0_45/bin/java, -Xmx512m, -cp, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven31-agent-1.4.jar;C:\Program Files\maven-3.1.1\boot\plexus-classworlds-2.5.1.jar;C:\Program Files\maven-3.1.1/conf/logging, jenkins.maven3.agent.Maven31Main, C:\Program Files\maven-3.1.1, C:\Program Files\Apache\Tomcat5.5\webapps\jenkins\WEB-INF\lib\remoting-2.33.jar, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven31-interceptor-1.4.jar, E:\jenkinsHome\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.4.jar, 3033] failed
  4. 0
    samebug tip
    A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.commons.logging.LogFactory$6

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    6 frames
  3. Hudson :: Remoting Layer
    RemoteClassLoader$ClassLoaderProxy.fetch3
    1. hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:742)
    2. hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:784)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor435.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  5. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:299)
    2. hudson.remoting.Request$2.run(Request.java:328)
    3. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    3 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    5. java.lang.Thread.run(Thread.java:662)
    5 frames