java.lang.NoClassDefFoundError: org/slf4j/Logger

Eclipse Bugzilla | scott.allen | 9 months ago
  1. 0

    Bug 488699 – Maven build get error java.lang.NoClassDefFoundError: org/slf4j/Logger

    eclipse.org | 5 months ago
    java.lang.NoClassDefFoundError: org/slf4j/Logger
  2. 0

    Maven build get error java.lang.NoClassDefFoundError: org/slf4j/Logger

    Eclipse Bugzilla | 9 months ago | scott.allen
    java.lang.NoClassDefFoundError: org/slf4j/Logger
  3. 0

    GitHub comment 305#226343138

    GitHub | 6 months ago | arichiardi
    java.lang.NoClassDefFoundError: org/eclipse/aether/transfer/TransferListener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Linux] Exception while building

    GitHub | 6 months ago | arichiardi
    java.lang.NoClassDefFoundError: org/eclipse/aether/transfer/TransferListener
  6. 0

    Every maven build I try to start on this just upgraded Jenkins-instance results in a stacktrace like: Parsing POMs [JMunin] $ /usr/lib/jvm/java-7-openjdk-amd64/bin/java -Dm3plugin.lib=/mnt/workspace/jenkins/cache/artifactory-plugin/2.1.7 -cp /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /mnt/storage/tomcat/jenkins/WEB-INF/lib/remoting-2.30.jar /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 48878 <===[JENKINS REMOTING CAPACITY]===>channel started channel stopped ERROR: Het lezen van de POMs is gefaald. java.io.IOException: Remote call on Channel to Maven [/usr/lib/jvm/java-7-openjdk-amd64/bin/java, -Dm3plugin.lib=/mnt/workspace/jenkins/cache/artifactory-plugin/2.1.7, -cp, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/share/maven, /mnt/storage/tomcat/jenkins/WEB-INF/lib/remoting-2.30.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 48878] failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:160) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:813) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1597) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:506) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.lang.NoClassDefFoundError: org/jvnet/hudson/maven3/listeners/HudsonMavenExecutionResult at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2451) at java.lang.Class.getMethod0(Class.java:2694) at java.lang.Class.getMethod(Class.java:1622) at hudson.maven.Maven3Builder.call(Maven3Builder.java:117) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) Caused by: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.listeners.HudsonMavenExecutionResult at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) ... 15 more FTP: Current build result is [FAILURE], not going to run. Finished: FAILURE Before the upgrade, all builds where working fine but now they are all failing.

    Jenkins JIRA | 3 years ago | Tim Boven
    java.io.IOException: Remote call on Channel to Maven [/usr/lib/jvm/java-7-openjdk-amd64/bin/java, -Dm3plugin.lib=/mnt/workspace/jenkins/cache/artifactory-plugin/2.1.7, -cp, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/share/maven, /mnt/storage/tomcat/jenkins/WEB-INF/lib/remoting-2.30.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 48878] failed

  1. andyglick 2 times, last 2 weeks ago
  2. andyglick 3 times, last 2 weeks ago
  3. davidvanlaatum 1 times, last 2 weeks ago
  4. davidvanlaatum 15 times, last 3 months ago
  5. Adarro 1 times, last 4 months ago
1 more registered users
90 unregistered visitors
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.slf4j.Logger

    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass()
  2. Plexus
    ClassRealm.loadClass
    1. org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    2. org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
    3. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
    4. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
    4 frames
  3. Java RT
    Class.getMethod
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Unknown Source)
    3. java.lang.Class.privateGetMethodRecursive(Unknown Source)
    4. java.lang.Class.getMethod0(Unknown Source)
    5. java.lang.Class.getMethod(Unknown Source)
    5 frames
  4. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.getEnhancedMainMethod(Launcher.java:172)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:268)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    5. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    5 frames