Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here:


jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web13957

  • via Unknown by Jesse Glick,
  • via Unknown by Jesse Glick,
  • Stack trace

    • java.lang.NoClassDefFoundError: hudson/maven/MavenBuild at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods( at java.lang.Class.getDeclaredMethods( at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch( at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext( at org.jvnet.hudson.annotation_indexer.FilterIterator.fetch( at org.jvnet.hudson.annotation_indexer.FilterIterator.hasNext( at hudson.init.InitializerFinder.discoverTasks( at hudson.PluginManager$2$1$ at org.jvnet.hudson.reactor.TaskGraphBuilder$ at org.jvnet.hudson.reactor.Reactor.runTask( at jenkins.model.Jenkins$7.runTask( at org.jvnet.hudson.reactor.Reactor$ at org.jvnet.hudson.reactor.Reactor$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: java.lang.ClassNotFoundException: hudson.maven.MavenBuild at$ at$ at Method) at at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( ... 17 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    364 times, last one
    Unknown visitor
    Unknown visitorOnce,
    5 times, last one
    15 times, last one
    5 times, last one
    1234 more bugmates