From 13f82b044043b33a0f9605b0623e702785334259 Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Sun, 12 Feb 2023 19:08:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89E3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zzjee/e3base/e3PostBarcode.java | 119 ---------- .../java/com/zzjee/e3base/e3Response.java | 85 ------- .../java/com/zzjee/e3base/e3ShipOrder.java | 172 --------------- src/main/java/com/zzjee/e3base/e3Util.java | 208 ------------------ src/main/resources/sysConfig.properties | 8 - velocity.log | 86 -------- 6 files changed, 678 deletions(-) delete mode 100644 src/main/java/com/zzjee/e3base/e3PostBarcode.java delete mode 100644 src/main/java/com/zzjee/e3base/e3Response.java delete mode 100644 src/main/java/com/zzjee/e3base/e3ShipOrder.java delete mode 100644 src/main/java/com/zzjee/e3base/e3Util.java diff --git a/src/main/java/com/zzjee/e3base/e3PostBarcode.java b/src/main/java/com/zzjee/e3base/e3PostBarcode.java deleted file mode 100644 index 90f6df6f..00000000 --- a/src/main/java/com/zzjee/e3base/e3PostBarcode.java +++ /dev/null @@ -1,119 +0,0 @@ -package com.zzjee.e3base; - -import org.codehaus.jackson.annotate.JsonAutoDetect; -import org.codehaus.jackson.annotate.JsonProperty; - -import java.util.List; - -@JsonAutoDetect -public class e3PostBarcode { - - /** - * order_sn : 123456 - * ck_time : 2018-08-01 00:00:00 - * orderDetail : [{"sku":"111122222","unique_code":"123456","security_code ":"12345678","ck_code ":"001","type":"2"," sku_storage":"1111122222"},{"sku":"111122222","unique_code":"123456","security_code ":"12345678","ck_code ":"001","type":"2"," sku_storage":"1111122222"}] - */ - - @JsonProperty("order_sn ") - private String orderSn; - @JsonProperty("ck_time ") - private String ckTime; - @JsonProperty("orderDetail") - private List orderDetail; - - public String getOrderSn() { - return orderSn; - } - - public void setOrderSn(String orderSn) { - this.orderSn = orderSn; - } - - public String getCkTime() { - return ckTime; - } - - public void setCkTime(String ckTime) { - this.ckTime = ckTime; - } - - public List getOrderDetail() { - return orderDetail; - } - - public void setOrderDetail(List orderDetail) { - this.orderDetail = orderDetail; - } - - public static class OrderDetailBean { - /** - * sku : 111122222 - * unique_code : 123456 - * security_code : 12345678 - * ck_code : 001 - * type : 2 - * sku_storage : 1111122222 - */ - - @JsonProperty("sku") - private String sku; - @JsonProperty("unique_code") - private String uniqueCode; - @JsonProperty("security_code ") - private String securityCode; - @JsonProperty("ck_code ") - private String ckCode; - @JsonProperty("type") - private String type; - @JsonProperty(" sku_storage") - private String skuStorage; - - public String getSku() { - return sku; - } - - public void setSku(String sku) { - this.sku = sku; - } - - public String getUniqueCode() { - return uniqueCode; - } - - public void setUniqueCode(String uniqueCode) { - this.uniqueCode = uniqueCode; - } - - public String getSecurityCode() { - return securityCode; - } - - public void setSecurityCode(String securityCode) { - this.securityCode = securityCode; - } - - public String getCkCode() { - return ckCode; - } - - public void setCkCode(String ckCode) { - this.ckCode = ckCode; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getSkuStorage() { - return skuStorage; - } - - public void setSkuStorage(String skuStorage) { - this.skuStorage = skuStorage; - } - } -} diff --git a/src/main/java/com/zzjee/e3base/e3Response.java b/src/main/java/com/zzjee/e3base/e3Response.java deleted file mode 100644 index 45caf8ad..00000000 --- a/src/main/java/com/zzjee/e3base/e3Response.java +++ /dev/null @@ -1,85 +0,0 @@ -package com.zzjee.e3base; - -import org.codehaus.jackson.annotate.JsonAutoDetect; -import org.codehaus.jackson.annotate.JsonProperty; - -@JsonAutoDetect -public class e3Response -{ - - /** - * status : api-success - * message : success - * data : {"status":-1,"data":"","message":"订单已出库"} - */ - - @JsonProperty("status") - private String status; - @JsonProperty("message") - private String message; - @JsonProperty("data") - private DataBean data; - - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public DataBean getData() { - return data; - } - - public void setData(DataBean data) { - this.data = data; - } - - public static class DataBean { - /** - * status : -1 - * data : - * message : 订单已出库 - */ - - @JsonProperty("status") - private int status; - @JsonProperty("data") - private String data; - @JsonProperty("message") - private String message; - - public int getStatus() { - return status; - } - - public void setStatus(int status) { - this.status = status; - } - - public String getData() { - return data; - } - - public void setData(String data) { - this.data = data; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - } -} diff --git a/src/main/java/com/zzjee/e3base/e3ShipOrder.java b/src/main/java/com/zzjee/e3base/e3ShipOrder.java deleted file mode 100644 index 70aa0e6c..00000000 --- a/src/main/java/com/zzjee/e3base/e3ShipOrder.java +++ /dev/null @@ -1,172 +0,0 @@ -package com.zzjee.e3base; - -import org.codehaus.jackson.annotate.JsonAutoDetect; -import org.codehaus.jackson.annotate.JsonProperty; - -import java.util.List; - -@JsonAutoDetect -public class e3ShipOrder { - - - /** - * status : api-success - * message : success - * data : {"orderDetail":[{"order_sn":"18062801151515","shipping_sn":"12345678","add_time":"1530147171","skuList":[{"goods_sn":"Z0101033","num":"1","sku":"Z0101033","color_code":"0","color_name":"0"},{"goods_sn":"BB2001","num":"1","sku":"BB2001M01531740","color_code":"M01","color_name":"M01"}]},{"order_sn":"17082101149794","shipping_sn":"20171017003","add_time":"1503299464","skuList":[{"goods_sn":"QN8001","num":"1","sku":"QN8001B11","color_code":"B11","color_name":"B11"},{"goods_sn":"QN8001","num":"1","sku":"QN8001B70","color_code":"B70","color_name":"B70"}]},{"order_sn":"17053100345423","shipping_sn":"613890633385","add_time":"1496185201","skuList":[{"goods_sn":"BL2531","num":"1","sku":"BL2531M01","color_code":"M01","color_name":"M01"}]}]} - */ - - @JsonProperty("status") - private String status; - @JsonProperty("message") - private String message; - @JsonProperty("data") - private DataBean data; - - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public DataBean getData() { - return data; - } - - public void setData(DataBean data) { - this.data = data; - } - - public static class DataBean { - @JsonProperty("orderDetail") - private List orderDetail; - - public List getOrderDetail() { - return orderDetail; - } - - public void setOrderDetail(List orderDetail) { - this.orderDetail = orderDetail; - } - - public static class OrderDetailBean { - /** - * order_sn : 18062801151515 - * shipping_sn : 12345678 - * add_time : 1530147171 - * skuList : [{"goods_sn":"Z0101033","num":"1","sku":"Z0101033","color_code":"0","color_name":"0"},{"goods_sn":"BB2001","num":"1","sku":"BB2001M01531740","color_code":"M01","color_name":"M01"}] - */ - - @JsonProperty("order_sn") - private String orderSn; - @JsonProperty("shipping_sn") - private String shippingSn; - @JsonProperty("add_time") - private String addTime; - @JsonProperty("skuList") - private List skuList; - - public String getOrderSn() { - return orderSn; - } - - public void setOrderSn(String orderSn) { - this.orderSn = orderSn; - } - - public String getShippingSn() { - return shippingSn; - } - - public void setShippingSn(String shippingSn) { - this.shippingSn = shippingSn; - } - - public String getAddTime() { - return addTime; - } - - public void setAddTime(String addTime) { - this.addTime = addTime; - } - - public List getSkuList() { - return skuList; - } - - public void setSkuList(List skuList) { - this.skuList = skuList; - } - - public static class SkuListBean { - /** - * goods_sn : Z0101033 - * num : 1 - * sku : Z0101033 - * color_code : 0 - * color_name : 0 - */ - - @JsonProperty("goods_sn") - private String goodsSn; - @JsonProperty("num") - private String num; - @JsonProperty("sku") - private String sku; - @JsonProperty("color_code") - private String colorCode; - @JsonProperty("color_name") - private String colorName; - - public String getGoodsSn() { - return goodsSn; - } - - public void setGoodsSn(String goodsSn) { - this.goodsSn = goodsSn; - } - - public String getNum() { - return num; - } - - public void setNum(String num) { - this.num = num; - } - - public String getSku() { - return sku; - } - - public void setSku(String sku) { - this.sku = sku; - } - - public String getColorCode() { - return colorCode; - } - - public void setColorCode(String colorCode) { - this.colorCode = colorCode; - } - - public String getColorName() { - return colorName; - } - - public void setColorName(String colorName) { - this.colorName = colorName; - } - } - } - } -} diff --git a/src/main/java/com/zzjee/e3base/e3Util.java b/src/main/java/com/zzjee/e3base/e3Util.java deleted file mode 100644 index 61635c6a..00000000 --- a/src/main/java/com/zzjee/e3base/e3Util.java +++ /dev/null @@ -1,208 +0,0 @@ -package com.zzjee.e3base; - -import com.xiaoleilu.hutool.http.HttpUtil; -import org.jeecgframework.core.util.DateUtils; -import org.jeecgframework.core.util.JSONHelper; -import org.jeecgframework.core.util.ResourceUtil; -import org.jeecgframework.core.util.StringUtil; -import org.springframework.util.DigestUtils; - -import java.nio.charset.Charset; -import java.util.*; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -public class e3Util { - public static String getdate(Map params) { - Set keysSet = params.keySet(); - Object[] keys = keysSet.toArray(); -// Arrays.sort(keys); - StringBuffer temp = new StringBuffer(); - boolean first = true; - for (Object key : keys) { - if (first) { - first = false; - } else { - temp.append("&"); - } - temp.append(key).append("="); - Object value = params.get(key); - String valueString = ""; - if (null != value) { - valueString = String.valueOf(value); - temp.append(valueString); - } - } - return temp.toString(); - } - - public static String createSign(LinkedHashMap params) { -// Set keysSet = params.keySet(); -// Object[] keys = keysSet.toArray(); - - Iterator it = params.entrySet().iterator(); - // Arrays.sort(keys); - StringBuffer temp = new StringBuffer(); - boolean first = true; - while (it.hasNext()) { - Map.Entry entry = (Map.Entry) it.next(); - if (first) { - first = false; - } else { - temp.append("&"); - } - temp.append(entry.getKey()).append("="); - Object value = entry.getValue(); - String valueString = ""; - if (null != value) { - valueString = String.valueOf(value); - temp.append(valueString); - } - } - System.out.print("1111111111111111111111111"+temp.toString()); - return DigestUtils.md5DigestAsHex(temp.toString().getBytes(Charset.forName("UTF-8"))); - } - public static e3ShipOrder getBil(Map params) { - e3ShipOrder e3ShipOrder =null; - String url = ResourceUtil.getConfigByName("E3.url"); - String e3Key = ResourceUtil.getConfigByName("E3.key"); - String e3Secret = ResourceUtil.getConfigByName("E3.secret"); - Map paramMapdata = new HashMap(); - paramMapdata.put("startModified","2011-09-01 00:00:00"); - paramMapdata.put("endModified","2029-09-01 00:00:00"); - String shipping_sn = null; - try{ - shipping_sn = params.get("shipping_sn").toString(); - }catch (Exception e){ - - } - if(StringUtil.isNotEmpty(shipping_sn)){ - paramMapdata.put("shipping_sn",shipping_sn); - } - String data=JSONHelper.map2json(paramMapdata); - LinkedHashMap paramMap = new LinkedHashMap(); - paramMap.put("key",e3Key); - paramMap.put("requestTime",DateUtils.getDataString(DateUtils.yyyymmddhhmmss)); - paramMap.put("secret",e3Secret); - paramMap.put("version","0.1"); - paramMap.put("serviceType","shipping_get_order"); - paramMap.put("data",data); - String sign = createSign(paramMap); - paramMap.put("format","json"); - paramMap.put("sign",sign); - paramMap.put("app_act","api/ec"); - paramMap.put("app_mode","func"); -// url = url+getdate(paramMap); - System.out.print("url********************==="+url); - try{ - String res = HttpUtil.post(url,paramMap); - org.jeecgframework.core.util.LogUtil - .info("===================获取E3单据==================="+res); - e3ShipOrder = JSONHelper.fromJsonToObject(res,e3ShipOrder.class); - }catch (Exception e){ - } - return e3ShipOrder; - } - - public static e3Response postBil(Map params) { - e3Response e3Response =null; - String url = ResourceUtil.getConfigByName("E3.url"); - String e3Key = ResourceUtil.getConfigByName("E3.key"); - String e3Secret = ResourceUtil.getConfigByName("E3.secret"); - Map paramMapdata = new HashMap(); - String order_sn = null; - try{ - order_sn = params.get("order_sn").toString(); - }catch (Exception e){ - - } - if(StringUtil.isNotEmpty(order_sn)){ - paramMapdata.put("order_sn",order_sn); - } - String data=JSONHelper.map2json(paramMapdata); - LinkedHashMap paramMap = new LinkedHashMap(); - paramMap.put("key",e3Key); - paramMap.put("requestTime",DateUtils.getDataString(DateUtils.yyyymmddhhmmss)); - paramMap.put("secret",e3Secret); - paramMap.put("version","0.1"); - paramMap.put("serviceType","pda_delivery_return"); - paramMap.put("data",data); - String sign = createSign(paramMap); - paramMap.put("format","json"); - paramMap.put("sign",sign); - paramMap.put("app_act","api/ec"); - paramMap.put("app_mode","func"); -// url = url+getdate(paramMap); - System.out.print("url********************==="+url); - try{ - String res = HttpUtil.post(url,paramMap); - org.jeecgframework.core.util.LogUtil - .info("===================POST E3单据==================="+res); - e3Response = JSONHelper.fromJsonToObject(res,e3Response.class); - }catch (Exception e){ - } - return e3Response; - } - - public static e3Response postBarcode(e3PostBarcode e3PostBarcode) { - e3Response e3Response =null; - String url = ResourceUtil.getConfigByName("E3.url"); - String e3Key = ResourceUtil.getConfigByName("E3.key"); - String e3Secret = ResourceUtil.getConfigByName("E3.secret"); - Map paramMapdata = new HashMap(); - String databarcode = null; - try{ - databarcode = JSONHelper.bean2json(e3PostBarcode).toString(); - }catch (Exception e){ - - } - JSONHelper.map2json(paramMapdata); - LinkedHashMap paramMap = new LinkedHashMap(); - paramMap.put("key",e3Key); - paramMap.put("requestTime",DateUtils.getDataString(DateUtils.yyyymmddhhmmss)); - paramMap.put("secret",e3Secret); - paramMap.put("version","0.1"); - paramMap.put("serviceType","write_unique_code"); - paramMap.put("data",databarcode); - String sign = createSign(paramMap); - paramMap.put("format","json"); - paramMap.put("sign",sign); - paramMap.put("app_act","api/ec"); - paramMap.put("app_mode","func"); -// url = url+getdate(paramMap); - System.out.print("url********************==="+url); - try{ - String res = HttpUtil.post(url,paramMap); - org.jeecgframework.core.util.LogUtil - .info("===================POST E3Barcode==================="+res); - e3Response = JSONHelper.fromJsonToObject(res,e3Response.class); - }catch (Exception e){ - } - return e3Response; - } - - /** - * Unicode转 汉字字符串 - * - * @param str \u6728 - * @return '木' 26408 - */ - public static String unicodeToString(String str) { - - Pattern pattern = Pattern.compile("(\\\\u(\\p{XDigit}{4}))"); - Matcher matcher = pattern.matcher(str); - char ch; - while (matcher.find()) { - //group 6728 - String group = matcher.group(2); - //ch:'木' 26408 - ch = (char) Integer.parseInt(group, 16); - //group1 \u6728 - String group1 = matcher.group(1); - str = str.replace(group1, ch + ""); - } - return str; - } - - -} diff --git a/src/main/resources/sysConfig.properties b/src/main/resources/sysConfig.properties index 3cebc9bf..9b16f6af 100644 --- a/src/main/resources/sysConfig.properties +++ b/src/main/resources/sysConfig.properties @@ -75,14 +75,6 @@ rfc.host=** rfc.system=00 - - -#e3 -E3.url=** -E3.key=* -E3.secret=** - - #\u57DF\u9A8C\u8BC1 #user.login.type=ldap user.login.type=system diff --git a/velocity.log b/velocity.log index 50480b60..e69de29b 100644 --- a/velocity.log +++ b/velocity.log @@ -1,86 +0,0 @@ - - -2021-05-24 10:07:27,696 - Log4JLogChute initialized using file 'velocity.log' -2021-05-24 10:07:27,697 - Starting Apache Velocity v1.6.4 (compiled: 2010-04-27 15:31:23) -2021-05-24 10:07:27,697 - Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties -2021-05-24 10:07:27,697 - Trying to use logger class org.apache.velocity.runtime.log.Log4JLogChute -2021-05-24 10:07:27,697 - Using logger class org.apache.velocity.runtime.log.Log4JLogChute -2021-05-24 10:07:27,701 - ResourceLoader instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader -2021-05-24 10:07:27,711 - ResourceCache: initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl) with class java.util.Collections$SynchronizedMap cache map. -2021-05-24 10:07:27,712 - Loaded System Directive: org.apache.velocity.runtime.directive.Define -2021-05-24 10:07:27,713 - Loaded System Directive: org.apache.velocity.runtime.directive.Break -2021-05-24 10:07:27,714 - Loaded System Directive: org.apache.velocity.runtime.directive.Evaluate -2021-05-24 10:07:27,714 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal -2021-05-24 10:07:27,716 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro -2021-05-24 10:07:27,717 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse -2021-05-24 10:07:27,718 - Loaded System Directive: org.apache.velocity.runtime.directive.Include -2021-05-24 10:07:27,719 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach -2021-05-24 10:07:27,720 - Loaded User Directive: org.jeecgframework.p3.core.directive.AuthFilterTagDirective -2021-05-24 10:07:27,721 - Loaded User Directive: org.jeecgframework.p3.core.directive.AuthOperateTagDirective -2021-05-24 10:07:27,735 - Loaded User Directive: com.jeecg.core.biz.tag.select.dict.tag.SelectDictTag -2021-05-24 10:07:27,736 - Loaded User Directive: com.jeecg.core.biz.tag.select.table.tag.SelectTableTag -2021-05-24 10:07:27,739 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,764 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,765 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,765 - Created '20' parsers. -2021-05-24 10:07:27,771 - Velocimacro : "velocimacro.library" is not set. Trying default library: VM_global_library.vm -2021-05-24 10:07:27,771 - Velocity was not initialized! Calling init()... -2021-05-24 10:07:27,774 - Could not load resource 'VM_global_library.vm' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader: -org.apache.velocity.exception.ResourceNotFoundException: ClasspathResourceLoader Error: cannot find resource VM_global_library.vm - at org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader.getResourceStream(ClasspathResourceLoader.java:131) - at org.apache.velocity.runtime.resource.loader.ResourceLoader.resourceExists(ResourceLoader.java:224) - at org.apache.velocity.runtime.resource.ResourceManagerImpl.getLoaderForResource(ResourceManagerImpl.java:641) - at org.apache.velocity.runtime.resource.ResourceManagerImpl.getLoaderNameForResource(ResourceManagerImpl.java:624) - at org.apache.velocity.runtime.RuntimeInstance.getLoaderNameForResource(RuntimeInstance.java:1464) - at org.apache.velocity.runtime.VelocimacroFactory.initVelocimacro(VelocimacroFactory.java:159) - at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:261) - at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:589) - at org.apache.velocity.runtime.RuntimeSingleton.init(RuntimeSingleton.java:229) - at org.apache.velocity.app.Velocity.init(Velocity.java:107) - at org.jeecgframework.p3.core.util.plugin.ViewVelocity.afterPropertiesSet(ViewVelocity.java:71) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1613) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) - at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229) - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706) - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762) - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) - at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) - at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) - at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) - at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) - at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) - at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) - at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) - at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) - at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) - at java.util.concurrent.FutureTask.run(FutureTask.java) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) -2021-05-24 10:07:27,776 - Velocimacro : Default library not found. -2021-05-24 10:07:27,776 - Velocimacro : allowInline = true : VMs can be defined inline in templates -2021-05-24 10:07:27,776 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions -2021-05-24 10:07:27,776 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. -2021-05-24 10:07:27,776 - Velocimacro : autoload off : VM system will not automatically reload global library macros