yaml配置文件: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping

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

Caused by: org.yaml.snakeyaml.parser.ParserException: while    parsing a block mapping
in 'reader', line 1, column 1:
server:
^
expected <block end>, but found ''
in 'reader', line 4, column 2:
Person:
 ^
报此错误一般是由yaml配置文件中的格式书写错误,注意检查格式。

你可能感兴趣的:(yaml配置文件: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping)