If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

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:


This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar:


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.


The server rejects all jars that already belong to the server runtime (such as tomcat-**.jar, servlet**.jar). Consider substituting the CORS filter you're using for this one:

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

  • GitHub comment 1349#248795433
    via GitHub by HosiYuki
  • 1.0.0RC1 failed to get _meta
    via GitHub by peakji
  • Cant connect to mongodb
    via GitHub by Crossener
  • Error creating index on elastic search
    via Stack Overflow by Boti
    • java.lang.NoClassDefFoundError: org/apache/avro/io/DatumReader at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors( at java.lang.Class.getDeclaredConstructors( at org.apache.reef.tang.util.ReflectionUtilities.getNamedParameterTargetOrNull( at at at at at at at at at at at at at org.apache.reef.runtime.common.REEFLauncher.getREEFLauncher( at org.apache.reef.runtime.common.REEFLauncher.main( Caused by: java.lang.ClassNotFoundException: at$ at$ at Method) at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( ... 18 more

    Users with the same issue

    18 times, last one,
    Nikolay RybakNikolay Rybak
    1 times, last one,
    6 times, last one,
    6 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    1195 more bugmates