org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'caseProvider': Singleton bean creation not allowed while the singletons of this factory are in destruction(Do not request a bean from a BeanFactory in a destroy method implementation!) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:216) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1054) at cn.infisa.base.holder.SpringContextHolder.getBean(SpringContextHolder.java:33) at cn.infisa.extracting.service.record.es.runner.Producer.getProvider(Producer.java:82) at cn.infisa.extracting.service.record.es.runner.Producer.run(Producer.java:52) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)