diff --git a/pom.xml b/pom.xml
index 03819415d..6eece91cc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,8 @@
2.3.2
1.2.5
1.2.73
- 3.9.1
+ 5.2.5
+ 5.5.0
2.5
1.3.3
3.17
@@ -73,6 +74,16 @@
oshi-core
${oshi.version}
+
+
+ net.java.dev.jna
+ jna
+
+
+
+ net.java.dev.jna
+ jna-platform
+
diff --git a/ruoyi-framework/pom.xml b/ruoyi-framework/pom.xml
index ebf488300..6cb3c707c 100644
--- a/ruoyi-framework/pom.xml
+++ b/ruoyi-framework/pom.xml
@@ -53,16 +53,6 @@
oshi-core
-
- net.java.dev.jna
- jna
-
-
-
- net.java.dev.jna
- jna-platform
-
-
com.ruoyi
diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/domain/Server.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/domain/Server.java
index 93e411bbd..30a1957eb 100644
--- a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/domain/Server.java
+++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/domain/Server.java
@@ -189,7 +189,7 @@ public class Server
private void setSysFiles(OperatingSystem os)
{
FileSystem fileSystem = os.getFileSystem();
- OSFileStore[] fsArray = fileSystem.getFileStores();
+ List fsArray = fileSystem.getFileStores();
for (OSFileStore fs : fsArray)
{
long free = fs.getUsableSpace();