diff --git a/pom.xml b/pom.xml
index 0381941..6eece91 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 ebf4883..6cb3c70 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 93e411b..30a1957 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();