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.
VelocityFactory
has some issues:RuntimeConstants.ENCODING_DEFAULT
is"UTF-8"
. The property name is actually inRuntimeContants.INPUT_ENCODING
. As the default is already UTF-8, this fortunately has no effect.RuntimeConstants.RESOURCE_LOADER
is deprecated. Replacement isRuntimeConstants.RESOURCE_LOADERS
.classpath.resource.loader.class
is deprecated. Replacement isresource.loader.classpath.class
.Workaround is to ignore
VelocityFactory
and just make the bean yourself. See also #152.