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
jakarta.validation.NoProviderFoundException on application startup #1979
Comments
see your stacktrace. |
Hi @bnasslahsen , I understand that the stack trace does not lead to springdoc, but the error occurs just after I added the dependency to |
In your stacktrace, it's hibernate 6 that logs/needs it. |
Hi @bnasslahsen , I had a deeped look at this and finally found the root cause:
Thus, when working with Spring Data JPA and Springdoc, the issue will occur as long as no validation provider is present, which also explains why adding For the record: The transitive dependency chain is:
|
Good that you understood the cause! |
Describe the bug
I discovered that after an update of my application to Spring Boot 3.0.0 and Springdoc-Openapi 2, I get a
jakarta.validation.NoProviderFoundException
message as an information on application startup:To Reproduce
Please see https://github.com/bjpe/springdoc-openapi-1979 for an example project.
Expected behavior
No stacktrace is shown.
Additional context
The error no longer occurs if I add
spring-boot-starter-validation
as well.The text was updated successfully, but these errors were encountered: