Skip to content

Apache Velocity deprecation warnings in APIM logs #4556

@DilanChanuka

Description

@DilanChanuka

Current Limitation

According to the Apache Velocity project documentation [1], space.gobbling and directive.if.emptycheck configuration properties were deprecated after version 2.1. Since the APIM 4.2.0 is using the Velocity version 2.3, these deprecation warnings may appear.

WARN  org.apache.velocity.deprecation - configuration key 'space.gobbling' has been deprecated in favor of 'parser.space_gobbling'

WARN  org.apache.velocity.deprecation - configuration key 'directive.if.emptycheck' has been deprecated in favor of 'directive.if.empty_check'

[1] https://velocity.apache.org/engine/2.1/configuration-property-changes-in-2.1.html

Suggested Improvement

Please check this and provide the required fixes.

Version

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions