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 依赖上下手