-
Notifications
You must be signed in to change notification settings - Fork 38.3k
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
Update logging level in BeanValidationBeanRegistrationAotProcessor for validation exceptions #31147
Comments
Does the exception cause AOT processing to fail or is it just distracting and rather noisy? Looking at the message, I suspect it's the latter as it's reporting the reason for "skipping validation constraint hint inference". |
it is just distracting, but it was not present in earlier versions |
Thanks for the clarification. I think this could be improved in Spring Framework as most runtime exceptions thrown from |
@adsafawqew Can you please provide a reproducer? I would like to be able to verify the behavior of the different log levels during AOT processing to refine the logging accordingly. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
can confirm that this has been fixed with spring boot version 3.1.4 |
having similar issue with spring-boot v
also have no |
@ashirmanov Please create a new issue with a reproducer as an attached archive or a link to a repository if you want us to have a look. |
Had the same issue building native image with graalVM @ashirmanov , resolved by adding: |
spring boot 3.1.3
gradle native plugin 0.9.25
processAot gradle task
i don't use query dsl in project, when gradle native plugin is disabled there is no exception and project runs fine
when i add api 'com.querydsl:querydsl-jpa:5.0.0' as dependency exception is also gone
The text was updated successfully, but these errors were encountered: