Home  >  Forum  >  Spring
Post New Query

Couldn't find a destroy method named 'clean' on bean with name '

joined on
April 07,2013
Asked on April 17,2013
Hi All, Need any suggestion to fix the below error.

Caused by: org.springframework.beans.factory.support.BeanDefinitionValidationException: Couldn't find a destroy method named  on bean with name 
at org.springframework.beans.factory.support.DisposableBeanAdapter.<init>(DisposableBeanAdapter.java:106)
at org.springframework.beans.factory.support.AbstractBeanFactory.registerDisposableBeanIfNecessary(AbstractBeanFactory.java:1492)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560)
... 11 more

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

You have given wrong destroy method. You need to cross check the method name. Also you can get help from the url.


Write Answer

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