Which of these proposals allow to activate the "dev"profile
start the application with the option -Dprofile= prod
-Dprofile= prod
Using the @Profile("dev") annotation
@Profile("dev")
Use setActiveProfiles("dev"); from the ConfigurableEnvironment bean
setActiveProfiles("dev");
ConfigurableEnvironment
Use setInitParameter("spring.profiles.active","dev") from the ServletContext bean
setInitParameter("spring.profiles.active","dev")
ServletContext