The foo.bar
is 1, the foo.foo
is 2, and the bar
is “foo”. The following construct:
<property name="boo" value="${${bar}.foo}">
used to work with Spring-4, setting property boo
to 2.
But with Spring-5.x it is not expanded at all — the property boo
is assigned the entire literal expression-string instead.
What’s the simplest fix here, without restructuring the underlying Java-code?