Farhaan, Hi,
After deleting validation-api.jar from classpath, Can you able to do validation using JSR 303 annotation On Wednesday, September 29, 2010 8:40:47 PM UTC+5:30, Ashton Thomas wrote: > > I just deleted javax.validation dependency from my maven pom.xml file > and the BeanCreationError has gone away, this may not be the way to go > (I am not using Hibernate or any persistence stuff right now) > > On Sep 28, 11:39 pm, Ashton Thomas <ash...@acrinta.com> wrote: > > This looks like a spring problem (GWT/roo generated scaffold -> from > > the updated and maybe incomplete source code) > > > > No errors in the project and I'm a little lost on this one. Any help > > is greatly appreciated.... > > > > 2010-09-28 23:33:46,508 [main] ERROR > > org.springframework.web.servlet.DispatcherServlet - Context > > initialization failed > > org.springframework.beans.factory.BeanCreationException: Error > > creating bean with name > > > 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' > : > > Invocation of init method failed; nested exception is > > javax.validation.ValidationException: Unable to find a default > > provider > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor > y.initializeBean(AbstractAutowireCapableBeanFactory.java: > > 1420) > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor > y.doCreateBean(AbstractAutowireCapableBeanFactory.java: > > 519) > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor > y.createBean(AbstractAutowireCapableBeanFactory.java: > > 456) > > at org.springframework.beans.factory.support.AbstractBeanFactory > > $1.getObject(AbstractBeanFactory.java:291) > > ...more.... > > > > Caused by: javax.validation.ValidationException: Unable to find a > > default provider > > at javax.validation.Validation > > $GenericBootstrapImpl.configure(Validation.java:264) > > at > > > org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.aft > erPropertiesSet(LocalValidatorFactoryBean.java: > > 183) > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor > y.invokeInitMethods(AbstractAutowireCapableBeanFactory.java: > > 1477) > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor > y.initializeBean(AbstractAutowireCapableBeanFactory.java: > > 1417) > > ... 36 more -- 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+unsubscr...@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.