You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use one config file per environment as described in the SpringBoot doc. This works as long as the application is run with the embedded Tomcat. As soon as I deploy the application using a war file, it doesn't look at the profile specific config files. (This can be seen by setting the log level of org.springframework.boot to DEBUG)
The application is initialized using a generated class wich inherits from SpringBootServletInitializer. Unfortunately this doesn't set the Profile as it is done in GrailsApp.configureEnvironment method.
The text was updated successfully, but these errors were encountered:
I want to use one config file per environment as described in the SpringBoot doc. This works as long as the application is run with the embedded Tomcat. As soon as I deploy the application using a war file, it doesn't look at the profile specific config files. (This can be seen by setting the log level of
org.springframework.boot
to DEBUG)The application is initialized using a generated class wich inherits from
SpringBootServletInitializer
. Unfortunately this doesn't set the Profile as it is done inGrailsApp.configureEnvironment
method.The text was updated successfully, but these errors were encountered: