Created
February 6, 2012 14:31
-
-
Save eugenp/1752369 to your computer and use it in GitHub Desktop.
Properties with Spring - Register Property manually in XML with Spring 3.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer"> | |
<property name="location"> | |
<list> | |
<value>classpath:foo.properties</value> | |
</list> | |
</property> | |
<property name="ignoreUnresolvablePlaceholders" value="true"/> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Had to change the name to locations for it to work. Thanks !