How to change the custom error message with @Constraint annotation in Spring?

后端 未结 0 1802
长情又很酷
长情又很酷 2021-02-16 00:30

I\'m building a custom validator for spring bean with the @Constraint annotation. The validation works well but I would like to change the returned message. When validation fail

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