Spring MVC 3 Validation - Unable to find a default provider

后端 未结 3 547
甜味超标
甜味超标 2020-12-14 15:24

I get an error when trying to set up Spring MVC validation.

javax.validation.ValidationException: Unable to find a default provider

I read

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-14 15:42

    Yes, you should include Hibernate Validator library in order to use it. It doesn't depend on Hibernate itself.

提交回复
热议问题