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 has been 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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.The text was updated successfully, but these errors were encountered: