org.apache.velocity.util.DeprecationAwareExtProperties.warnDeprecated configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
org.apache.velocity.util.DeprecationAwareExtProperties.warnDeprecated configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
2023-02-23 升级解决了此问题
velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, "file");
velocityEngine.addProperty(VelocityEngine.RESOURCE_LOADERS SPRING_MACRO_RESOURCE_LOADER_NAME);
改为
velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADERS, "file");
velocityEngine.addProperty(VelocityEngine.RESOURCE_LOADERS, SPRING_MACRO_RESOURCE_LOADER_NAME);