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.