Sunday, September 29, 2013

bean validation on server

I am trying to use the bean validation (jsr303) on my project. It works perfectly on client side.
However, when i try the same validation on server side. I get "javax.validation.ValidationException: Unable to find a default provider".
I am using embedded jetty on devmode. 

If i compile my project and deploy to another server (tomcat) it works both on client and server.

It seems that the embedded jetty is causing the issue.

Does anyone else is having this problem?

btw, i am using maven and using the 4.1.0.Final version of the hibernate-validator.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment