NoClassDefFoundError crashes

Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.

NoClassDefFoundError frequently wraps an other exception, you should check the root cause for better understanding.

Caused by ClassNotFoundException: Typical classpath problem; the application you run does not find a class that was found compile time. You have to fix your setup: the deployment environment, the versions of dependencies etc.

Caused by ExceptionInInitializerError: Typically caused by static initializer error in one of your class.

Find a solution to your bug with our map

We found 45199 bugs on the web resulting in java.lang.NoClassDefFoundError.

We visualize these cases as a tree for easy understanding. We place your stack trace on this tree so you can find similar ones. The top nodes are generic cases, the leafs are the specific stack traces.

Paste your stack trace to find solutions with our map.

or go through the whole list of bugs manually to find yours

This list contains all the bugs that lead to this exception. Click through to see the discussions about them.