spring-boot: User-defined Validator bean should not be used as the `mvcValidator`

Hi,

@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;
}

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 27 (17 by maintainers)

Commits related to this issue

Most upvoted comments