java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing

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

,
Expert tip

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

,
Expert tip

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

Solutions on the web

via GitHub by dgiagio
, 1 year ago
org/hamcrest/SelfDescribing
via ne.jp by Unknown author, 1 year ago
via Terracotta by vazor, 1 year ago
org/osgi/framework/BundleActivator
via Google Groups by Daniel Stein (ChoreOS), 7 months ago
org/jclouds/concurrent/ > > > >> > RetryOnTimeOutExceptionFunction
via Google Groups by mikel, 5 months ago
org/ >>>>>> mozilla/ >>>>>> javascript/Script
via Stack Overflow by vamsiampolu
, 2 years ago
org/slf4j/spi/LoggerFactoryBinder
java.lang.ClassNotFoundException: org.hamcrest.SelfDescribing
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

Users with the same issue

13 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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