You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler': Invocation of init method failed; nested exception is org.quartz.SchedulerConfigException: DataSource name not set.
Caused by: org.quartz.SchedulerConfigException: DataSource name not set.
I tried setting
environments:
test:
quartz:
pluginEnabled: false
But then it gives me
Caused by: java.lang.NullPointerException: Cannot get property 'group' on null object
at grails.plugins.quartz.QuartzJob$Trait$Helper.schedule(QuartzJob.groovy:58)
Quartz only runs in tests where there's a running spring boot application. This means it has to run in integration tests if you're testing scheduling. I haven't seen these failures in the latest version so I'm going to close this. We can reopen if you can provide an example project.
Activity
jdaugherty commentedon Aug 22, 2026
Quartz only runs in tests where there's a running spring boot application. This means it has to run in integration tests if you're testing scheduling. I haven't seen these failures in the latest version so I'm going to close this. We can reopen if you can provide an example project.