From a9e38fa54dc52a714e8971685666a726da70dc14 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Mon, 27 Dec 2021 12:28:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7spring-boot=E5=88=B0=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC2.5.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 30 +------------------ .../ruoyi/quartz/config/ScheduleConfig.java | 2 +- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/pom.xml b/pom.xml index 3803d05dd..56e2d8105 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,6 @@ 1.8 3.1.1 1.8.0 - 3.0.14.RELEASE 2.1.0 1.2.8 1.21 @@ -33,7 +32,6 @@ 1.4 4.1.2 2.3 - 2.17.0 @@ -44,7 +42,7 @@ org.springframework.boot spring-boot-dependencies - 2.5.6 + 2.5.8 pom import @@ -84,19 +82,6 @@ ${shiro.version} - - - org.thymeleaf - thymeleaf-spring5 - ${thymeleaf.version} - - - - org.thymeleaf - thymeleaf - ${thymeleaf.version} - - com.github.theborakompanioni @@ -192,19 +177,6 @@ ${fastjson.version} - - - org.apache.logging.log4j - log4j-api - ${log4j2.version} - - - - org.apache.logging.log4j - log4j-to-slf4j - ${log4j2.version} - - com.ruoyi diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/config/ScheduleConfig.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/config/ScheduleConfig.java index e35eb26e4..04db2c9db 100644 --- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/config/ScheduleConfig.java +++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/config/ScheduleConfig.java @@ -29,7 +29,7 @@ public class ScheduleConfig prop.put("org.quartz.threadPool.threadCount", "20"); prop.put("org.quartz.threadPool.threadPriority", "5"); // JobStore配置 - prop.put("org.quartz.jobStore.class", "org.quartz.impl.jdbcjobstore.JobStoreTX"); + prop.put("org.quartz.jobStore.class", "org.springframework.scheduling.quartz.LocalDataSourceJobStore"); // 集群配置 prop.put("org.quartz.jobStore.isClustered", "true"); prop.put("org.quartz.jobStore.clusterCheckinInterval", "15000");