一、问题描述 springboot项目启动不成功并报错。提示yml配置文件读取错误。 java.nio.charset.MalformedInputException: Input length = 1 二、解决方法,改项目编码格式