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