摘要:在使用spring boot 整合quartz的时候,新建定时任务类,实现job接口,在使用@AutoWire或者@Resource时,运行时出现nullpointException的问题.显然是相关类没有注入进来,通过查询相关资料发现是quartz的问题,是job类是没有交给spring来管理.
阅读全文
posted @ 2018-09-06 14:27
posted @ 2018-09-06 14:27
Copyright © 2025 守护锁链
Powered by .NET 9.0 on Kubernetes