Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.1
-
None
-
None
Description
when using current Velocity with current Velocity Tools View , I get the following error messages in the log:
org.apache.velocity.deprecation - configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
org.apache.velocity.deprecation - configuration key 'webapp.resource.loader.class' has been deprecated in favor of 'resource.loader.webapp.class'
org.apache.velocity.deprecation - configuration key 'string.resource.loader.class' has been deprecated in favor of 'resource.loader.string.class'
org.apache.velocity.deprecation - configuration key 'runtime.introspector.uberspect' has been deprecated in favor of 'introspector.uberspect.class'
OK so maybe the old property names are used to be compatible to old Velocity Engine versions, but the default is that we use current versions - so a "compatibility mode" should be made smarter than just continuing to use deprecated properties.
my gradle includes:
earlib group: 'org.apache.velocity', name: 'velocity-engine-core', version: '2.3'
earlib group: 'org.apache.velocity.tools', name: 'velocity-tools-view', version: '3.1'
This has also been mentioned in a recent stackoverflow thread
Attachments
Attachments
Issue Links
- is related to
-
AVRO-2600 Usage of deprecated configuration properties in Velocity
-
- Closed
-