使用nutz框架和quartz整合时,无法注入dao,求教大神?
@IocBean
public class MyJob implements Job{
@Inject
protected Dao dao;
@Override
public void execute(JobExecutionContext context) throws JobExecutionException {
System.out.println(this.dao);
System.out.println(159);
}
}
quartz使用的是最新版本,2.2.3;上面是测试代码,
输出的this.dao一直为null,