diff --git a/zheng-common/src/main/java/com/zheng/common/util/ZhengAdminUtil.java b/zheng-common/src/main/java/com/zheng/common/util/ZhengAdminUtil.java index bcaa2429..c9d4ce67 100644 --- a/zheng-common/src/main/java/com/zheng/common/util/ZhengAdminUtil.java +++ b/zheng-common/src/main/java/com/zheng/common/util/ZhengAdminUtil.java @@ -27,7 +27,7 @@ public class ZhengAdminUtil implements InitializingBean, ServletContextAware { _log.info("zheng-ui.jar 版本: {}", version); String jarPath = servletContext.getRealPath("/WEB-INF/lib/zheng-ui-" + version + ".jar"); _log.info("zheng-ui.jar 包路径: {}", jarPath); - String resources = servletContext.getRealPath("/resources") + "/zheng-ui"; + String resources = servletContext.getRealPath("/") + "/resources/zheng-ui"; _log.info("zheng-ui.jar 解压到: {}", resources); JarUtil.decompress(jarPath, resources); _log.info("===== 解压zheng-ui完成 =====");