springboot获取yml文件中配置文件报错的各类问题 1、严格遵守k: v格式 2、若启动报错说找到不到classpath:/application.yml文件,且报错原因出现input line2等错误 需要设置 在启动就ok