HV000030: No validator could be found for constraint ‘javax.validation.constraints.NotBlank‘ validat
使用@NotBlank(message = "不能为空!"),抛出这个异常:
HV000030: No validator could be found for constraint 'javax.validation.constraints.NotBlank' validating type 'java.lang.String'. Check configuration for
检查一下当前引入的包是不是引错了,引用javax.validation.constraints.N...
原创
2021-02-02 17:26:37 ·
8514 阅读 ·
4 评论