Multiple application.yml not merged in Spring Boot
问题 I have a module for database communication (my-db-lib) , and which is imported to spring boot based web application module (my-web-app) I want to set configuration about db in my-db-lib , and set about web app in my-web-app When I use yml file, application.yml in my-db-lib db: url: localhost application.yml in my-web-app app: message: hello When my-web-app runs, it can read only app.message not db.url It seems that yml files are just replaced with one which has highest priority (when not use