[Spring] Spring Boot finishing points

I. priority on application.yaml read

1.1, follow the principle of first in the outer

First, with respect to read directory of the application / config directory
second, in the application directory, the operation is the same directory in the directory
in the third program, Resources / config directory
fourth, within a program, Resources table of Contents

Guess you like

Origin www.cnblogs.com/jzsg/p/10611044.html