Wednesday, September 29, 2010

Re: BeanCreationException

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 post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment