In an Entity Bean I forgot to remove a {{ @Size }} validation on a {{ Integer }} field. The message that validation thows is:
{noformat} Caused by: javax.validation.UnexpectedTypeException: HV000030: No validator could be found for type: java.lang.Integer. {noformat} It's better to have into the message also the validation that cause it (@Size).
Thank you Domenico
|