java.lang.NoClassDefFoundError: org/apache/ivy/core/report/ResolveReport

Coderanch | Jake Barnes | 7 years ago
  1. 0

    How do I read the compile time error messages?

    Coderanch | 7 years ago | Jake Barnes
    java.lang.NoClassDefFoundError: org/apache/ivy/core/report/ResolveReport
  2. 0

    Marked all plugins for download and install after restart, then upgraded Jenkins to the latest version. All pages now show this exception. The Maven plugin wasn't even enabled beforehand. org.jvnet.hudson.reactor.ReactorException: java.lang.NoClassDefFoundError: hudson/maven/MavenBuild at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) at jenkins.model.Jenkins.executeReactor(Jenkins.java:915) at jenkins.model.Jenkins.<init>(Jenkins.java:811) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$3.run(WebAppMain.java:221) Caused by: java.lang.NoClassDefFoundError: hudson/maven/MavenBuild at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2475) at java.lang.Class.getDeclaredMethods(Class.java:1818) at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:101) at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:71) at org.jvnet.hudson.annotation_indexer.FilterIterator.fetch(FilterIterator.java:23) at org.jvnet.hudson.annotation_indexer.FilterIterator.hasNext(FilterIterator.java:42) at hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:55) at hudson.init.InitializerFinder.discoverTasks(InitializerFinder.java:33) at hudson.PluginManager$2$1$3.run(PluginManager.java:388) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:904) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.ClassNotFoundException: hudson.maven.MavenBuild at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 18 more

    Jenkins JIRA | 3 years ago | James Howe
    org.jvnet.hudson.reactor.ReactorException: java.lang.NoClassDefFoundError: hudson/maven/MavenBuild
  3. 0

    Marked all plugins for download and install after restart, then upgraded Jenkins to the latest version. All pages now show this exception. The Maven plugin wasn't even enabled beforehand. org.jvnet.hudson.reactor.ReactorException: java.lang.NoClassDefFoundError: hudson/maven/MavenBuild at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) at jenkins.model.Jenkins.executeReactor(Jenkins.java:915) at jenkins.model.Jenkins.<init>(Jenkins.java:811) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$3.run(WebAppMain.java:221) Caused by: java.lang.NoClassDefFoundError: hudson/maven/MavenBuild at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2475) at java.lang.Class.getDeclaredMethods(Class.java:1818) at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:101) at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:71) at org.jvnet.hudson.annotation_indexer.FilterIterator.fetch(FilterIterator.java:23) at org.jvnet.hudson.annotation_indexer.FilterIterator.hasNext(FilterIterator.java:42) at hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:55) at hudson.init.InitializerFinder.discoverTasks(InitializerFinder.java:33) at hudson.PluginManager$2$1$3.run(PluginManager.java:388) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:904) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.ClassNotFoundException: hudson.maven.MavenBuild at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 18 more

    Jenkins JIRA | 3 years ago | James Howe
    org.jvnet.hudson.reactor.ReactorException: java.lang.NoClassDefFoundError: hudson/maven/MavenBuild
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    instructions

    xradar | 8 years ago | moucard
    java.lang.NoClassDefFoundError: org/apache/xml/resolver/tools/CatalogResolver
  6. 0

    [GROOVY-3157] Compiler fails with java.lang.TypeNotPresentException - ASF JIRA

    apache.org | 11 months ago
    java.lang.TypeNotPresentException: Type Feature not present

    4 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.apache.ivy.core.report.ResolveReport

      at org.apache.tools.ant.AntClassLoader.findClassInComponents()
    2. Ant
      AntClassLoader.loadClass
      1. org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
      2. org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
      3. org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
      3 frames
    3. Java RT
      Class.getDeclaredMethods
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      2. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
      3. java.lang.Class.getDeclaredMethods0(Native Method)
      4. java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
      5. java.lang.Class.getDeclaredMethods(Class.java:1791)
      5 frames
    4. Groovy
      CachedClass$3$1.run
      1. org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:83)
      1 frame
    5. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    6. Groovy
      GrapeIvy.<init>
      1. org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:80)
      2. org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:78)
      3. org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:33)
      4. org.codehaus.groovy.util.LazyReference.get(LazyReference.java:20)
      5. org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:252)
      6. groovy.lang.MetaClassImpl.populateMethods(MetaClassImpl.java:341)
      7. groovy.lang.MetaClassImpl.fillMethodIndex(MetaClassImpl.java:291)
      8. groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2890)
      9. org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:154)
      10. org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:170)
      11. groovy.grape.GrapeIvy.$getStaticMetaClass(GrapeIvy.groovy)
      12. groovy.grape.GrapeIvy.<init>(GrapeIvy.groovy:49)
      12 frames
    7. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    8. Groovy
      Groovyc.execute
      1. groovy.grape.Grape.getInstance(Grape.java:105)
      2. groovy.grape.Grape.grab(Grape.java:140)
      3. groovy.grape.GrabAnnotationTransformation.visit(GrabAnnotationTransformation.java:181)
      4. org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:268)
      5. org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:798)
      6. org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464)
      7. org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:443)
      8. org.codehaus.groovy.tools.FileSystemCompiler.compile(FileSystemCompiler.java:56)
      9. org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:169)
      10. org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:792)
      11. org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:541)
      11 frames
    9. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor411.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    11. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
      4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      4 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor411.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    13. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
      4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      4 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor411.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    15. Ant
      Project.executeTargets
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:357)
      4. org.apache.tools.ant.Target.performTasks(Target.java:385)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1189)
      8 frames
    16. org.apache.tools
      TargetExecutor.run
      1. org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278)
      2. org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:498)
      2 frames
    17. org.netbeans.core
      RunClassThread.run
      1. org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
      1 frame