2017-01-19 6 views

答えて

1

と財産spring.config.locationポイントはアプリケーション

$ java -jar myproject.jar --spring.config.location=classpath:com/company/whatever/application.properties 

の起動時にコマンドラインでspring.config.locationを設定することができ

spring.config.location=classpath:com/company/whatever/application.properties 

ようapplication.propertiesてみようこれについては、 spring boot docs

関連する問題