Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping

启动项目的时候,发现报了两个错误
第一个:java.lang.IllegalStateException: Failed to load property source from location ‘classpath:/application-dev.yml’

Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping_第1张图片
第二个
Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping

Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping_第2张图片

问题:配置文件yml中的格式未对齐,

你可能感兴趣的:(Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping)