You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2022. It is now read-only.
This may be (the deprecations certainly are) because I upgraded Velocity to 2.3 for a CVE (#511). I haven't checked the old version.
VelocityFactory has some issues:
RuntimeConstants.ENCODING_DEFAULT is "UTF-8". The property name is actually in RuntimeContants.INPUT_ENCODING. As the default is already UTF-8, this fortunately has no effect.
RuntimeConstants.RESOURCE_LOADER is deprecated. Replacement is RuntimeConstants.RESOURCE_LOADERS.
classpath.resource.loader.class is deprecated. Replacement is resource.loader.classpath.class.
Workaround is to ignore VelocityFactory and just make the bean yourself. See also #152.
This may be (the deprecations certainly are) because I upgraded Velocity to 2.3 for a CVE (#511). I haven't checked the old version.
VelocityFactoryhas some issues:RuntimeConstants.ENCODING_DEFAULTis"UTF-8". The property name is actually inRuntimeContants.INPUT_ENCODING. As the default is already UTF-8, this fortunately has no effect.RuntimeConstants.RESOURCE_LOADERis deprecated. Replacement isRuntimeConstants.RESOURCE_LOADERS.classpath.resource.loader.classis deprecated. Replacement isresource.loader.classpath.class.Workaround is to ignore
VelocityFactoryand just make the bean yourself. See also #152.