org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next tokenfound character ‘@‘ t

 一 报错

org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token
found character '@' that cannot start any token. (Do not use @ for indentation)

二 解决

@外面加单引号括起来

org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next tokenfound character ‘@‘ t_第1张图片

 

你可能感兴趣的:(yaml)