Closed wqe146273123 closed 6 years ago
Quartz stores assume that the job context map they are given can be serialised.
hello,i am have the same exception,finally,how solved?
Quartz stores assume that the job context map they are given can be serialised.
so you can only use values that can be serialised (as in Java's built-in serialisation) in job context maps.
use spring boot quartz 2.2.3 quartz-mongodb but appear:Unable to serialize JobDataMap for insertion into database because the value of property 'methodInvoker' is not serializable: org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean
this is my config class: @Bean("schedulerFactory") public SchedulerFactoryBean schedulerFactoryBean() { SchedulerFactoryBean schedulerFactory = new SchedulerFactoryBean(); Resource resource = new ClassPathResource("jobstore.properties"); schedulerFactory.setConfigLocation(resource);