Hi,
While trying to invoke the method validator using an interceptor, am getting the ValidationException during unwrap method call. The project setup includes GWT, Guice, Hibernate Validator 4.2, validation API 1.0. The validation is being invoked at GWT server layer.
Same error occured while trying to get an ExecutableValidator instance using hibernate Validator 5.1 and validation API 1.1.
javax.validation.ValidationException: Type interface org.hibernate.validator.method.MethodValidator not supported at org.hibernate.validator.engine.ValidatorImpl.unwrap(ValidatorImpl.java:157 at com.validation.demo.ValidationInterceptor.invoke(ValidationInterceptor.java:32)
Any idea why the bean validation provider implementaion is not being recognised?
Thanks.
|