Ljava/lang/Class o.s.c.support.DefaultLifecycleProcessor : Failed to stop bean ‘quartzScheduler‘

2020-12-19 07:59:58.273 WARN 1 — [ Thread-14] o.s.c.support.DefaultLifecycleProcessor : Failed to stop bean ‘quartzScheduler’

java.lang.AbstractMethodError: Method org/springframework/scheduling/quartz/SchedulerFactoryBean.stop(Ljava/lang/Runnable;)V is abstract
at org.springframework.scheduling.quartz.SchedulerFactoryBean.stop(SchedulerFactoryBean.java)
at org.springframework.context.support.DefaultLifecycleProcessor.doStop(DefaultLifecycleProcessor.java:238)
at org.springframework.context.support.DefaultLifecycleProcessor.access 300 ( D e f a u l t L i f e c y c l e P r o c e s s o r . j a v a : 53 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . D e f a u l t L i f e c y c l e P r o c e s s o r 300(DefaultLifecycleProcessor.java:53) at org.springframework.context.support.DefaultLifecycleProcessor 300(DefaultLifecycleProcessor.java:53)atorg.springframework.context.support.DefaultLifecycleProcessorLifecycleGroup.stop(DefaultLifecycleProcessor.java:377)
at org.springframework.context.support.DefaultLifecycleProcessor.stopBeans(DefaultLifecycleProcessor.java:210)
at org.springframework.context.support.DefaultLifecycleProcessor.onClose(DefaultLifecycleProcessor.java:128)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1007)
at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:935)

解决方案:
在这里插入图片描述
换成
在这里插入图片描述
即可,是依赖导致的
一般有这种错误Ljava/lang/Class;[Ljava/lang/Class;)

都可以先从这个context 依赖上下手

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值