spring_profiles_active is not loading the yml file

Viewed 16

I have set up spring_profiles_active=dev in jboss 7.1 server, while trying to deploy the spring boot app it's not loading that env variable and was not deploying failing with datasource error. Since it was not able to read the datasource(url,user,password) from application-dev.yml. Any idea why it's not picking up?

0 Answers
Related