Issue
How can I specify spring active profile while running spring boot application (as a war) in WebLogic? How to pass different -Dspring.profiles.active JVM arguments for different application deployed?
All suggestions welcome!
Thanks,
Solution
They are different ways to specify a profile in spring boot.
In your case, the better way is to add the property spring.profiles.active
inside the application.properties
, to avoid pasing it as argument when you launch the apps.
I hope my response help you.
Good luck
Answered By - Anas Lachheb