diff --git a/bin/change_jdk_version.sh b/bin/change_jdk_version.sh
new file mode 100644
index 000000000..deb08bc89
--- /dev/null
+++ b/bin/change_jdk_version.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+#
+# Copyright (c) 2013-2025 Hutool Team and hutool.cn
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+export JAVA_HOME="/cygdrive/d/java/jdk-17.0.11"
+export PATH="$JAVA_HOME/bin:$PATH"
diff --git a/hutool-extra/pom.xml b/hutool-extra/pom.xml
index 42ebda247..93a1804d6 100755
--- a/hutool-extra/pom.xml
+++ b/hutool-extra/pom.xml
@@ -53,13 +53,13 @@
0.2.21
- 0.39.0
+ 0.40.0
2.15.0
262
3.11.1
5.1.1
- 2.7.18
+ 3.5.3
6.8.1
1.17.5
1.27.1
@@ -69,7 +69,7 @@
4.0.0
5.25.0
- 5.3.2
+ 5.3.3
@@ -291,7 +291,7 @@
org.apache.ftpserver
ftpserver-core
- 1.2.0
+ 1.2.1
compile
@@ -421,21 +421,13 @@
org.springframework.boot
spring-boot-starter
${spring-boot.version}
+ true
- snakeyaml
- org.yaml
-
-
- log4j-to-slf4j
- org.apache.logging.log4j
-
-
- jul-to-slf4j
- org.slf4j
+ org.springframework.boot
+ spring-boot-starter-logging
- true
io.github.biezhi
@@ -512,28 +504,6 @@
spring-boot-starter-test
${spring-boot.version}
test
-
-
- jakarta.activation-api
- jakarta.activation
-
-
- junit-jupiter
- org.junit.jupiter
-
-
- json-path
- com.jayway.jsonpath
-
-
- byte-buddy
- net.bytebuddy
-
-
- junit-jupiter-api
- org.junit.jupiter
-
-
org.apache.commons
diff --git a/hutool-extra/src/test/java/cn/hutool/v7/extra/spring/SpringUtilTest.java b/hutool-extra/src/test/java/cn/hutool/v7/extra/spring/SpringUtilTest.java
index ed7e34649..afa7d7e12 100644
--- a/hutool-extra/src/test/java/cn/hutool/v7/extra/spring/SpringUtilTest.java
+++ b/hutool-extra/src/test/java/cn/hutool/v7/extra/spring/SpringUtilTest.java
@@ -18,6 +18,7 @@ package cn.hutool.v7.extra.spring;
import cn.hutool.v7.core.map.MapUtil;
import cn.hutool.v7.core.reflect.TypeReference;
+import jakarta.annotation.Resource;
import lombok.Data;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
@@ -30,7 +31,6 @@ import org.springframework.core.env.ConfigurableEnvironment;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.junit.jupiter.SpringExtension;
-import javax.annotation.Resource;
import java.util.HashMap;
import java.util.Map;
@@ -67,7 +67,7 @@ public class SpringUtilTest {
try {
SpringUtil.getBean("testAutoWired");
} catch (final NoSuchBeanDefinitionException e) {
- Assertions.assertEquals(e.getClass(), NoSuchBeanDefinitionException.class);
+ Assertions.assertEquals(NoSuchBeanDefinitionException.class, e.getClass());
}
}
diff --git a/pom.xml b/pom.xml
index 0f61ce934..8689ca818 100755
--- a/pom.xml
+++ b/pom.xml
@@ -205,6 +205,9 @@
+
+ ${compile.version}
+