Home  >  Forum  >  Spring
Post New Query

Couldn't find an init method named on bean with name


joined on
March 14,2013
Asked on April 17,2013
Hi,

Need help,

Caused by: org.springframework.beans.factory.support.BeanDefinitionValidationException: Couldn't find an init method named  on bean with name
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1541)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
... 12 more

joined on
March 18,2013
Replied on April 17,2013

Error says that you are using init-method and the method you have provided does not exist in the bean class. You need to check your bean.
joined on
March 18,2013
Replied on April 17,2013

http://www.concretepage.com/spring/example_init_method_spring.php

Write Answer









Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us