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

后端 未结 0 1397
暗喜
暗喜 2021-02-16 00:31

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

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