Sunday, September 29, 2013

Re: bean validation on server



On Sunday, September 29, 2013 3:04:48 PM UTC+3, Thomas Broyer wrote:
[+cc GWT group; why did you reply in private and not there?]

It was a little mistake.


 


On Sun, Sep 29, 2013 at 1:45 PM, ozgur aydinli <ozgura...@gmail.com> wrote:
thanks for your answer.

- Is the hibernate-validator JAR in WEB-INF/lib when you run DevMode?
I thought maven is handling that. but apparently there is a problem.

Maven handles it when you build (package) your project.
 
there is nothing about maven at the link.



Thanks for your help.
unchecking the box: launch and deploy from this directory. solved it. (under Google --> Web Application)


 
 


On Sunday, September 29, 2013 2:21:59 PM UTC+3, Thomas Broyer wrote:
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.



--
Thomas Broyer
/tɔ.ma.bʁwa.je/

--
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