java.lang.NoClassDefFoundError: hudson/maven/MavenModuleSetBuild

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

    I'm using jenkins 1.466.2 via the regular Ubuntu packages on Ubuntu Quantla (12.10) with the copyArtifact plugin (version 1.25) The console output for the build of one of my Jenkins projects consistently shows this: Started by user Murray Cumming Building in workspace /var/lib/jenkins/workspace/maliit-plugins Checkout:maliit-plugins / /var/lib/jenkins/workspace/maliit-plugins - hudson.remoting.LocalChannel@35e47b48 Using strategy: Default Last Built Revision: Revision 1004cc39badd17308a1fabfe0b72d1e762572b4b (origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from git://gitorious.org/maliit/maliit-plugins.git Commencing build of Revision 1004cc39badd17308a1fabfe0b72d1e762572b4b (origin/master) Checking out Revision 1004cc39badd17308a1fabfe0b72d1e762572b4b (origin/master) FATAL: hudson/maven/MavenModuleSetBuild java.lang.NoClassDefFoundError: hudson/maven/MavenModuleSetBuild at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:198) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:480) at hudson.model.Run.run(Run.java:1438) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) Caused by: java.lang.ClassNotFoundException: hudson.maven.MavenModuleSetBuild at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 10 more

    Jenkins JIRA | 4 years ago | Murray Cumming
    java.lang.NoClassDefFoundError: hudson/maven/MavenModuleSetBuild
  2. 0

    I'm using jenkins 1.466.2 via the regular Ubuntu packages on Ubuntu Quantla (12.10) with the copyArtifact plugin (version 1.25) The console output for the build of one of my Jenkins projects consistently shows this: Started by user Murray Cumming Building in workspace /var/lib/jenkins/workspace/maliit-plugins Checkout:maliit-plugins / /var/lib/jenkins/workspace/maliit-plugins - hudson.remoting.LocalChannel@35e47b48 Using strategy: Default Last Built Revision: Revision 1004cc39badd17308a1fabfe0b72d1e762572b4b (origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from git://gitorious.org/maliit/maliit-plugins.git Commencing build of Revision 1004cc39badd17308a1fabfe0b72d1e762572b4b (origin/master) Checking out Revision 1004cc39badd17308a1fabfe0b72d1e762572b4b (origin/master) FATAL: hudson/maven/MavenModuleSetBuild java.lang.NoClassDefFoundError: hudson/maven/MavenModuleSetBuild at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:198) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:480) at hudson.model.Run.run(Run.java:1438) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) Caused by: java.lang.ClassNotFoundException: hudson.maven.MavenModuleSetBuild at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 10 more

    Jenkins JIRA | 4 years ago | Murray Cumming
    java.lang.NoClassDefFoundError: hudson/maven/MavenModuleSetBuild
  3. 0

    [JENKINS-15977] java.lang.NoClassDefFoundError: hudson/maven/MavenModuleSetBuild - Jenkins JIRA

    jenkins-ci.org | 7 months ago
    java.lang.NoClassDefFoundError: hudson/maven/MavenModuleSetBuild
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  6. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>

  1. rsprangemeijer 6 times, last 4 days ago
  2. marcbouvierdav 26 times, last 6 days ago
  3. batwalrus76 12 times, last 6 days ago
  4. musketyr 1 times, last 7 days ago
  5. SteVio1989 4 times, last 1 week ago
69 more registered users
26 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

    hudson.maven.MavenModuleSetBuild

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    6 frames
  3. hudson.plugins.copyartifact
    CopyArtifact.perform
    1. hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:198)
    1 frame
  4. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710)
    3. hudson.model.Build$RunnerImpl.build(Build.java:178)
    4. hudson.model.Build$RunnerImpl.doRun(Build.java:139)
    5. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:480)
    6. hudson.model.Run.run(Run.java:1438)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:239)
    9 frames