修复部分打包方式导致zheng-ui解压目标目录不对的问题

This commit is contained in:
shuzheng 2017-03-03 21:45:06 +08:00
parent 1bcadf8fdc
commit 2b6b0d7e1b
1 changed files with 1 additions and 1 deletions

View File

@ -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完成 =====");