diff --git a/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-job/src/main/java/org/jeecg/boot/starter/job/config/XxlJobConfiguration.java b/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-job/src/main/java/org/jeecg/boot/starter/job/config/XxlJobConfiguration.java index 28d06b23b583c9079d07a65a1645a63bc6cd9f01..21d83318e7f6cd13e9afe3c125c5b2645c2d598a 100644 --- a/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-job/src/main/java/org/jeecg/boot/starter/job/config/XxlJobConfiguration.java +++ b/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-job/src/main/java/org/jeecg/boot/starter/job/config/XxlJobConfiguration.java @@ -25,7 +25,8 @@ public class XxlJobConfiguration { @Autowired private XxlJobProperties xxlJobProperties; - @Bean(initMethod = "start", destroyMethod = "destroy") + //@Bean(initMethod = "start", destroyMethod = "destroy") + @Bean @ConditionalOnClass() public XxlJobSpringExecutor xxlJobExecutor() { log.info(">>>>>>>>>>> xxl-job config init.");