User-defined Validator bean should not be used as the `mvcValidator`
See original GitHub issueHi,
@Valid Annotations in controller are not working since I upgraded to 1.5.3.
I use them like this:
public String method(@Valid @RequestBody Pojo pojo);
@Data
class Pojo {
@NotBlank
public String name;
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:27 (17 by maintainers)
Top Results From Across the Web
Spring Validation Example - Spring MVC Form Validator
The Employee is a standard java bean and we will use our custom Validator implementation to validate the form with Employee bean. Custom ......
Read more >Error creating bean with name 'mvcValidator' - Stack Overflow
I ran it's dependency analyzer on my Pom.xml and found a conflict of older hibernate validator version that was used on one of...
Read more >21.1 Using Bean Validation Constraints
A user-defined or custom constraint needs a validation implementation. In the preceding example, the @ValidEmail custom constraint needs an implementation class ...
Read more >Spring MVC Bean Validator - Roy Tutorials
In this example, I will show you how to build a bean validator for User model object. ... User-defined constraints are called custom...
Read more >Spring MVC Custom Validation - Baeldung
Learn how to build a custom validation annotation and use it in Spring MVC. ... If we're using Spring Boot, then we can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Sure, https://github.com/jonhkr/spring-validation-sample
@snicoll I’ve tested with
1.5.4.BUILD-SNAPSHOTand it is working nicely, thank you.