Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException after trying to use Springdoc in a non-spring-boot application #2567

Closed
AutomationUIUser opened this issue Apr 10, 2024 · 0 comments

Comments

@AutomationUIUser
Copy link

I am using Spring 6 in my application without spring-boot. I want to document all the REST APIs available in my application. For that I tried the steps mentioned here: How to Integrate Open API 3 with Spring project (not Spring Boot)?. But after following these steps, I am getting the following error:

image

I found that springdoc-openapi-ui is using Spring 5 and not Spring 6. Upon further analysis, I found that the class LocalVariableTableParameterNameDiscoverer is present in spring-core jar of Spring version 5 and not present in Spring 6.

So is there any way to use Springdoc with Spring 6 application which is not using spring boot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant