因为yml文件的名称是固定的,前缀必须是application,如果你自己想创建yml,就必须用application-app.yml或者application-dev.yml这种,spring才会识别他为spring配置文件