Wednesday 17 February 2016

How to avoid property not found error while deploying the spring applicationcontext.xml

Modify as like below in the property-placeholder of the applicationcontext.xml
<context:property-placeholder
    ignore-resource-not-found="true"
    ignore-unresolvable="true"
    system-properties-mode="OVERRIDE"
    location="classpath:default.properties", file:///${app.configs}/app.properties"/>

No comments:

Post a Comment