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 web13878

  • via Unknown by haleh,
  • via GitHub by umairpannu
  • Stack trace

    • java.lang.NoClassDefFoundError: org/glassfish/appclient/client/acc/UserError at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.glassfish.appclient.client.acc.UserError at$ Source) at Method) at Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 6 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

    9 times, last one
    Unknown visitor
    Unknown visitorOnce,
    4 times, last one
    Unknown visitor
    Unknown visitorOnce,
    1190 more bugmates