This little snippet:
Seems to throw the error:Code:<bean> <property name="..."> <map> <entry> <key <util:constant static-field="some.class.CONSTANT" /> </key> <value><util:constant static-field="some.class.OTHER_CONSTANT" /></value> </entry> </map> </property> </bean>
Does this mean that constants can't be used as map values?Code:Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.d: Invalid content was found starting with element 'util:constant'. No child element is expected at this point. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)


Reply With Quote