-
Notifications
You must be signed in to change notification settings - Fork 41.1k
@Validated don't work on interface #17000
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
Comments
For the record, Since Spring Framework 5.1, request mappings should be found on interfaces due to the changes made in spring-projects/spring-framework#15682. Perhaps you are using a version of Spring Boot that uses Spring Framework 5.0 or earlier? If you'd like us to spend any more time on this, you'll need to spend some time providing some more information about your problem. Please create a minimal sample that reproduces your problem and share it in a separate GitHub repository or in a zip attached to this issue. |
hi @wilkinsona ,I add GitHub repository use spring boot 2.1 |
this is GitHub repository https://github.com/longscoop/spring-boot-validated |
Thanks for the sample. The problem is caused by your validation configuration, specifically the You can fix the problem by removing your |
Springcloud is used in the project, but returns 404
Springcloud is used in the project, but returns 404,the Validated don't work on interface ?
The text was updated successfully, but these errors were encountered: