Spring Boot 2.3+ no longer prints useful errors information for validation (from MethodArgumentNotValidException)

前端 未结 0 1160
心在旅途
心在旅途 2021-01-16 10:26

I have a user request payload

class UserRequest {
  @NotBlank
  String firstName;
  @NotBlank
  String lastName;

  @Min(18)
  @Max(65)
  Integer age;
  ..
}
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题