java.lang.NoClassDefFoundError: hudson/maven/local_repo/PerJobLocalRepositoryLocator

Jenkins JIRA | Karthikeyan Krishnasamy | 2 years ago
  1. 0

    Hi, We are trying to run sonar analysis report for our project. We are getting Classnot found exception. ERROR: Publisher hudson.plugins.sonar.SonarPublisher aborted due to exception java.lang.NoClassDefFoundError: hudson/maven/local_repo/PerJobLocalRepositoryLocator at hudson.plugins.sonar.SonarPublisher.executeSonar(SonarPublisher.java:354) at hudson.plugins.sonar.SonarPublisher.perform(SonarPublisher.java:309) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1784) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.lang.ClassNotFoundException: hudson.maven.local_repo.PerJobLocalRepositoryLocator at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 11 more Please let me know what could be the cause of this issue.

    Jenkins JIRA | 2 years ago | Karthikeyan Krishnasamy
    java.lang.NoClassDefFoundError: hudson/maven/local_repo/PerJobLocalRepositoryLocator
  2. 0

    Hi, We are trying to run sonar analysis report for our project. We are getting Classnot found exception. ERROR: Publisher hudson.plugins.sonar.SonarPublisher aborted due to exception java.lang.NoClassDefFoundError: hudson/maven/local_repo/PerJobLocalRepositoryLocator at hudson.plugins.sonar.SonarPublisher.executeSonar(SonarPublisher.java:354) at hudson.plugins.sonar.SonarPublisher.perform(SonarPublisher.java:309) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1784) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.lang.ClassNotFoundException: hudson.maven.local_repo.PerJobLocalRepositoryLocator at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 11 more Please let me know what could be the cause of this issue.

    Jenkins JIRA | 2 years ago | Karthikeyan Krishnasamy
    java.lang.NoClassDefFoundError: hudson/maven/local_repo/PerJobLocalRepositoryLocator
  3. 0

    Can't build: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/TokenMacro

    GitHub | 2 years ago | marcellodesales
    java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/TokenMacro
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to deploy war file to jboss 5.1 from jenkins 1.609 automatically during build?

    Stack Overflow | 1 year ago | varun
    org.codehaus.cargo.container.ContainerException: Failed to create deployer with implementation class org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer for the parameters (container [id = [jboss5x]], deployer type [remote]).
  6. 0

    Jenkins users - NoClassDefFoundError: tasks/SimpleBuildStep

    nabble.com | 4 months ago
    java.lang.NoClassDefFoundError: jenkins/tasks/SimpleBuildStep

  1. davidvanlaatum 22 times, last 6 months ago
  2. poroszd 1 times, last 1 month ago
22 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.local_repo.PerJobLocalRepositoryLocator

    at jenkins.util.AntClassLoader.findClassInComponents()
  2. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375)
    2. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
    3. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
    3 frames
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    1 frame
  4. hudson.plugins.sonar
    SonarPublisher.perform
    1. hudson.plugins.sonar.SonarPublisher.executeSonar(SonarPublisher.java:354)
    2. hudson.plugins.sonar.SonarPublisher.perform(SonarPublisher.java:309)
    2 frames
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
    4. hudson.model.Build$BuildExecution.post2(Build.java:183)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
    6. hudson.model.Run.execute(Run.java:1784)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:89)
    9. hudson.model.Executor.run(Executor.java:240)
    9 frames