java.lang.NoClassDefFoundError: <My package class>

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

Solutions on the web

via Oracle Community by 843793, 1 year ago
via Oracle Community by 843840, 1 year ago
via GitHub by daverix
, 2 years ago
Could not initialize class org.robolectric.shadows.ShadowSQLiteConnection
java.lang.NoClassDefFoundError: <My package class>
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:484)

Users with the same issue

Once, 2 months ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.