-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins ver. 1.585
JDK 1.6
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.