This exception is thrown when trying to validate a BigDecimal
value using the @NotBlank
constraint, which is meant for validating strings. The error message suggests that the configuration for the validation might be incorrect, as it cannot find a validator for this combination of constraint and data type.
To fix this issue, you should use a constraint that is appropriate for validating numeric values, such as @NotNull
, @Positive
, or @Negative
. You should also ensure that your validation configuration is set up correctly to handle these constraints and data types.