I got a similiar error but ...Constraints.NotEmpty' validating type 'java.lang.Long'
It happened because I was using @NotEmpty in a non-String field.
I solved it replacing @NotEmpty with @Size(value=1, message= "whatever")
I got a similiar error but ...Constraints.NotEmpty' validating type 'java.lang.Long'
It happened because I was using @NotEmpty in a non-String field.
I solved it replacing @NotEmpty with @Size(value=1, message= "whatever")