-
Notifications
You must be signed in to change notification settings - Fork 40.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
MethodArgumentNotValidException not raised anymore for jakarta validation #40055
Comments
There were some notable changes in this area in Spring Framework 6.1 (spring-projects/spring-framework#29825). The change that you're seeing may be as a result of a refinement of those changes in a Spring Framework patch release. It's hard to be certain with the level of detail that you've currently provided. You could try using |
This comment on a Spring Framework issue might also be relevant. |
Hi,
throws
throws My pom.xml is fairly simple:
TestApplication.class:
In spring-boot-starter-parent version 3.2.1, both cases are handled by MethodArgumentNotValidException |
Thanks, @pepavesely. Closing as a duplicate of spring-projects/spring-framework#32396. |
In the version of Springboot 3.2.1, following worked:
After spring-boot-starter upgrade to 3.2.2 (and also 3.2.3), MethodArgumentNotValidException is not raised anymore, HandlerMethodValidationException is raised instead.
The text was updated successfully, but these errors were encountered: