0

I have a project in which I have the library swagger-parser-v3 as dependency. In one of the files in this project, I have done new OpenAPIV3Parser() which gives me a NoClassDefFound error, build if I do new OpenAPIResolver() I don't get any error.

Both of these classes are defined in the swagger-parser-v3 library and I am unable to understand why this is happening. I have checked the stack trace and I can see that no other exception is logged.

jmizv
  • 1,033
  • 1
  • 10
  • 22
Daisy Modi
  • 43
  • 3
  • Does this answer your question? [What causes and what are the differences between NoClassDefFoundError and ClassNotFoundException?](https://stackoverflow.com/questions/1457863/what-causes-and-what-are-the-differences-between-noclassdeffounderror-and-classn) – Danubian Sailor May 27 '22 at 12:22

0 Answers0