修复部分打包方式导致zheng-ui解压目标目录不对的问题
This commit is contained in:
parent
1bcadf8fdc
commit
2b6b0d7e1b
|
@ -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完成 =====");
|
||||
|
|
Loading…
Reference in New Issue