I've got several debug flags (properties) that I've consolidated into one properties file. I'd like to use the PropertyPlaceholderConfigurer to replace these properties regardless of which *Context.xml or *-servlet.xml file in which they exist.
If I declare the bean
in the applicationContext.xml, app-servlet.xml doesn't know how to replace the placeholders. However, if I declare the same PropertyPlaceholderConfigurer bean in app-servlet.xml, it works fine.
<bean id="propertyOverrideConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" lazy-init="false">
I know I'm missing something dumb. Any help would be much appreciated.