SpringApplication will load properties from application.properties files in the following locations and add them to the Spring Environment:
if anyone is looking for a linux solution, This is working for us: edit tomcat startup.sh add:
export spring_config_location=//application.properties
example:
export spring_config_location=/app/conf/application.properties