I have configured spring.profiles.active environment variable into websphere server and using variable value into spring config file. My Config.xml is like
<bean id="propertiesUtil" class="common.PropertiesUtil">
<property name="locations">
<list>
<value>classpath:common.properties</value>
<value>classpath:${spring.profiles.active}/env_${spring.profiles.active}_config.properties</value>
</list>
</property>
and getting exception while deploying application into WAS is like :
Caused by: java.io.FileNotFoundException: class path resource
[${spring.profiles.active}/env_${spring.profiles.active}_config.properties]
cannot be opened because it does not exist
pls let me know if i missed anything?