Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27553

ERROR: Publisher hudson.plugins.sonar.SonarPublisher aborted due to exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: sonar-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.585
      JDK 1.6
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            sonarteam Sonar Team
            Reporter:
            karthikinit Karthikeyan Krishnasamy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: