NutzCN Logo
问答 Quartz执行的时候出现注入错误
发布于 3101天前 作者 qq_0fe033d3 2512 次浏览 复制 上一个帖子 下一个帖子
标签: quartz

org.nutz.ioc.IocException: Object 'msLaunchCourseJob' without define! For object [msLaunchCourseJob] - type:[class net.el.quartz.job.MsLaunchCourseJob]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:221)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:140)
at org.nutz.integration.quartz.NutQuartzJobFactory.newJob(NutQuartzJobFactory.java:27)
at org.quartz.core.JobRunShell.initialize(JobRunShell.java:127)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:375)
Caused by: org.nutz.ioc.ObjectLoadException: Object 'msLaunchCourseJob' without define!
at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:168)
... 5 more

4 回复

@IocBy的配置没覆盖这个类

@IocBy配置里面加了啊

@qq_0fe033d3 肯定没覆盖到这个类

已经解决。粗心了忘记加@IocBy注解

添加回复
请先登陆
回到顶部