SpringApplication will load properties from application.properties files in the following locations and add them to the Spring Environment:
Using Tomcat 9.0.27
9.0.27
Running Spring boot 2.2.1
2.2.1
I did setup setenv.sh and added the line
setenv.sh
export spring_config_location=//application.properties
and got it to work..