java.lang.NoClassDefFoundError: com/foo/a

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

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

Solutions on the web

via Stack Overflow by Àlex
, 2 years ago
via by Unknown author, 1 year ago
via Stack Overflow by hermt2
, 7 months ago
via Oracle Community by 760570, 1 year ago
via eclipse-cs by lubosp
, 1 year ago
java.lang.NoClassDefFoundError: com/foo/a
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at undefined.RunReflect.main(

Users with the same issue

3 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
6 times, 6 months ago
2 times, 6 months ago

Write tip

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