How can I make properties files mandatory in Spring?
- by Paulo Guedes
I have an ApplicationContext.xml file with the following node:
<context:property-placeholder
location="classpath:hibernate.properties, classpath:pathConfiguration.properties" />
It specifies that both properties files will be used by my application. But if one of these files does not exist, no error ir thrown.
How can I throw an…