-
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
WebFlux validation requires Servlet API since Spring Framework 6.1.3 #33043
Comments
it is minimal application that reproduces this issue. check it please. |
Hi @underbell, Congratulations on submitting your first issue for the Spring Framework, and thanks for providing the sample application! 👍 Once I modified As a workaround, adding the following in implementation 'jakarta.servlet:jakarta.servlet-api' Thus, it appears that our web binding/validation support is pulling in a dependency on the Servlet API for your WebFlux-based application -- for example, potentially via Spring's We'll investigate the cause. |
Indeed, I confirmed that this:
Thus, this appears to be a regression introduced in Spring Framework 6.1.3. @rstoyanchev, does that ring a bell? |
I believe this is related to the fix of #31887, which introduced the use of |
@sbrannen @poutsma Thank you all. Line 118 in c37f685
|
As I said above, the |
@poutsma Thank you again for your kind explanation |
Affects: after spring-web:6.1.3(boot:3.2.2)
It happens with spring-security and multiple validation
The text was updated successfully, but these errors were encountered: