一直都是正常运行的程序,检查日志发现有一条报错如下:
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'orderController': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not req
uest a bean from a BeanFactory in a destroy method implementation!)
根据报错提示:很有可能是再重启服务的时候,接口任然被访问造成的。检查应用停止启动日志。