I have propertyResourceConfigurer as below
<context:property-placeholder
ignore-resource-not-found="false" ignore-unresolvable="true"
location="${karaf.home}/product/properties/device.properties,file:${karaf.home}/product/properties/device.properties,file:///${karaf.home}/product/properties/device.properties"/>
when i deploy the jar in my karaf container, I am getting an exception as below
org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: OSGi resource[/opt/product/properties/device.properties.
I am using a relative path in my linux environment, as you can see i have tried multiple locations and none can resolve the properties file.
I am out of ideas, please help. Thank you in advance.