From 30d7651322cf24470e432f2827e06ae5578d3212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 4 Jan 2024 16:33:40 +0800 Subject: [PATCH] =?UTF-8?q?update=20springboot=203.1.7=20=3D>=203.2.1=20?= =?UTF-8?q?=E5=85=A8=E9=9D=A2=E6=94=AF=E6=8C=81=E8=99=9A=E6=8B=9F=E7=BA=BF?= =?UTF-8?q?=E7=A8=8B=20update=20springboot-admin=203.1.8=20=3D>=203.2.0=20?= =?UTF-8?q?update=20springdoc=202.2.0=20=3D>=202.3.0=20update=20redisson?= =?UTF-8?q?=203.24.3=20=3D>=203.25.2=20update=20hutool=205.8.22=20=3D>=205?= =?UTF-8?q?.8.24=20update=20dynamic-ds=204.2.0=20=3D>=204.3.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 14 +++++++------- ruoyi-admin/src/main/resources/application.yml | 5 +++++ ruoyi-common/ruoyi-common-mybatis/pom.xml | 2 +- ruoyi-common/ruoyi-common-web/pom.xml | 12 ++++++++++++ .../dromara/common/web/config/UndertowConfig.java | 4 ++++ 5 files changed, 29 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index ce9235f8c..1a5add9bd 100644 --- a/pom.xml +++ b/pom.xml @@ -14,12 +14,12 @@ 5.2.0-SNAPSHOT - 3.1.7 + 3.2.1 UTF-8 UTF-8 17 3.0.3 - 2.2.0 + 2.3.0 0.15.0 5.2.3 3.3.3 @@ -27,12 +27,12 @@ 1.37.0 3.5.5 3.9.1 - 5.8.22 + 5.8.24 4.10.0 - 3.1.8 - 3.24.3 + 3.2.0 + 3.25.2 2.2.5 - 4.2.0 + 4.3.0 2.14.4 4.3.6 1.3.5 @@ -212,7 +212,7 @@ com.baomidou - mybatis-plus-boot-starter + mybatis-plus-spring-boot3-starter ${mybatis-plus.version} diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 3f54f649b..265e1ef1b 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -61,6 +61,11 @@ user: spring: application: name: ${ruoyi.name} + threads: + # 开启虚拟线程 仅jdk21可用 + # 开启后还需更改 UndertowConfig 虚拟线程配置 + virtual: + enabled: false # 资源信息 messages: # 国际化资源文件路径 diff --git a/ruoyi-common/ruoyi-common-mybatis/pom.xml b/ruoyi-common/ruoyi-common-mybatis/pom.xml index 2088b5439..16d8d5cf1 100644 --- a/ruoyi-common/ruoyi-common-mybatis/pom.xml +++ b/ruoyi-common/ruoyi-common-mybatis/pom.xml @@ -39,7 +39,7 @@ com.baomidou - mybatis-plus-boot-starter + mybatis-plus-spring-boot3-starter org.mybatis diff --git a/ruoyi-common/ruoyi-common-web/pom.xml b/ruoyi-common/ruoyi-common-web/pom.xml index b250fa9d0..fa9b8e8e8 100644 --- a/ruoyi-common/ruoyi-common-web/pom.xml +++ b/ruoyi-common/ruoyi-common-web/pom.xml @@ -7,6 +7,18 @@ ruoyi-common ${revision} + + + + org.apache.maven.plugins + maven-compiler-plugin + + 21 + 21 + + + + 4.0.0 ruoyi-common-web diff --git a/ruoyi-common/ruoyi-common-web/src/main/java/org/dromara/common/web/config/UndertowConfig.java b/ruoyi-common/ruoyi-common-web/src/main/java/org/dromara/common/web/config/UndertowConfig.java index 421ce6d14..282f1bf40 100644 --- a/ruoyi-common/ruoyi-common-web/src/main/java/org/dromara/common/web/config/UndertowConfig.java +++ b/ruoyi-common/ruoyi-common-web/src/main/java/org/dromara/common/web/config/UndertowConfig.java @@ -24,6 +24,10 @@ public class UndertowConfig implements WebServerFactoryCustomizer