Sunday, September 29, 2013

Re: bean validation on server

Is the hibernate-validator JAR in WEB-INF/lib when you run DevMode?
See https://developers.google.com/eclipse/docs/faq#gwt_with_maven for more on using Maven+GWT in Eclipse with the Google Plugin for Eclipse.

On Sunday, September 29, 2013 12:16:13 PM UTC+2, ozgur aydinli wrote:
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