开发者社区> 问答> 正文

SchedulerX定时任务一直执行失败,检查了下自己的配置,看着也没啥问题呀,是怎么回事呢?

SchedulerX定时任务一直执行失败,检查了下自己的配置,看着也没啥问题呀,是怎么回事呢?
java.lang.ClassCastException: class com.xxl.job.core.handler.impl.MethodJobHandler cannot be cast to class com.alibaba.schedulerx.worker.processor.JobProcessor (com.xxl.job.core.handler.impl.MethodJobHandler and com.alibaba.schedulerx.worker.processor.JobProcessor are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @5ce65a89) at com.alibaba.schedulerx.worker.processor.JobProcessorRepository.loadJobProcessor(JobProcessorRepository.java:21) at com.alibaba.schedulerx.worker.util.JavaProcessorProfileUtil.getXxlJobProcessor(JavaProcessorProfileUtil.java:131) at com.alibaba.schedulerx.worker.container.ThreadContainer.loadJobProcessor(ThreadContainer.java:260) at com.alibaba.schedulerx.worker.container.ThreadContainer.start(ThreadContainer.java:128) at com.alibaba.schedulerx.worker.container.ThreadContainer.run(ThreadContainer.java:70) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) at java.base/java.util.c
bb434f358757aa193a2af7f0f3b56acf.png
02a527b5606280d1f18219bb0baf5fca.png
148e2fde330e2b89e674a5b1adc73c22.png

展开
收起
嘟嘟嘟嘟嘟嘟 2024-03-05 23:26:57 39 0
0 条回答
写回答
取消 提交回答
来源圈子
更多
收录在圈子:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载