Cannot autowire bean SchedulerAccessorBean in spring boot application

In a Spring Boot application with a Quartz scheduler instance, I need to start another job when one ends (in a simplified manner than explained in Quartz FAQ: How do I chain Job execution?), thus I'm creating a new Trigger at the end of that job executeInternal().

To send that new job, I'd use getScheduler() of an autowired instance of SchedulerAccessorBean, though at runtime I get a No qualifying bean of type [...] exception.

Is it the right class to use? Am I supposed to create that bean myself?

The scheduler initial...

Read More »

By: StackOverFlow - 6 days ago

Related Posts