Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    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:

  2. ,
    Expert tip

    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:

Solutions on the web

via GitHub by wu-sheng
, 1 year ago
via Stack Overflow by Adam Lewis
, 9 months ago
via YouTrack by Unknown author, 2 years ago
java.lang.ClassNotFoundException: sun.reflect.GeneratedMethodAccessor4	at$	at$	at Method)	at	at java.lang.ClassLoader.loadClass(	at sun.misc.Launcher$AppClassLoader.loadClass(	at java.lang.ClassLoader.loadClass(	at sun.reflect.GeneratedMethodAccessor4.(Unknown Source)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(	at java.lang.reflect.Constructor.newInstance(	at java.lang.Class.newInstance(	at sun.reflect.MethodAccessorGenerator$	at sun.reflect.MethodAccessorGenerator$	at Method)	at sun.reflect.MethodAccessorGenerator.generate(	at sun.reflect.MethodAccessorGenerator.generateMethod(	at sun.reflect.NativeMethodAccessorImpl.invoke(	at sun.reflect.DelegatingMethodAccessorImpl.invoke(	at java.lang.reflect.Method.invoke(	at org.apache.logging.log4j.status.StatusLogger$BoundedQueue.(	at org.apache.logging.log4j.status.StatusLogger.(	at org.apache.logging.log4j.status.StatusLogger.classInitializer$tFvp9PAT(	at org.apache.logging.log4j.status.StatusLogger.(	at org.apache.logging.log4j.LogManager.classInitializer$2uwbj97q(	at org.apache.logging.log4j.LogManager.(	at$oOb0838P(	at	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(	at com.intellij.rt.execution.application.AppMain.main(