ioc.get(Scheduler.class);
// 获取NutQuartzCronJobFactory从而触发计划任务的初始化与启动
ioc.get(NutQuartzCronJobFactory.class);
在MainSetup里面没有ioc.get(scheduler.class)这句代码,然后我加了修改之后的这个直接出现异常
Caused by: org.quartz.ObjectAlreadyExistsException: Unable to store Job : 'DEFAULT.net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob', because one already exists with this identification.