Home  >  Forum  >  Spring
Post New Query

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



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




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.



Replied on April 17, 2013
http://www.concretepage.com/spring/example_init_method_spring.php


Write Answer








©2019 concretepage.com | Privacy Policy | Contact Us