kasha
31 days agoOccasional Visitor
Implement swagger 3 in Springboot 2.7 application
Hi All,
I want to implement swagger 3 in my application which is a multi module project currently running with springboot version 2.7 and jdk Zulu 11.
I have tried many different steps as mentioned over stackoverflow or blogs or ai tools which include
- Adding open-api dependency with version 1.8.0 or 1.6.9 but did not work out.
- Added swagger configuration file as well but that also did not work out.
Errors I am getting:-
- NoClassDefFound:- org/springdoc/core/providers/RouterFunctionProvider.
- IllegalStateException:- failed to introspect class org.springdoc.webmvc.core.MultiOpenApiSupportConfiguration from classloader
Kindly suggest what can be done.
Thanks!