From 69fc2cff29ef718402aea24b8092cc7bf1b1ca23 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期一, 27 十二月 2021 12:41:02 +0800
Subject: [PATCH] 升级spring-boot到最新版本2.5.8
---
src/main/java/com/ruoyi/framework/config/ScheduleConfig.java | 2 +-
pom.xml | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 7597e8d..7ff58c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
- <version>2.5.6</version>
+ <version>2.5.8</version>
<relativePath />
</parent>
@@ -39,7 +39,6 @@
<oshi.version>5.8.6</oshi.version>
<jna.version>5.10.0</jna.version>
<velocity.version>2.3</velocity.version>
- <log4j2.version>2.17.0</log4j2.version>
</properties>
<dependencies>
diff --git a/src/main/java/com/ruoyi/framework/config/ScheduleConfig.java b/src/main/java/com/ruoyi/framework/config/ScheduleConfig.java
index 72d313c..6ad56ca 100644
--- a/src/main/java/com/ruoyi/framework/config/ScheduleConfig.java
+++ b/src/main/java/com/ruoyi/framework/config/ScheduleConfig.java
@@ -29,7 +29,7 @@
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");
--
Gitblit v1.9.3