yml 报错 found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)

出现这个报错的原因是 yml 配置文件中缩进不规范造成的,导致spring启动读取yml配置文件不能正确读取。

解决办法:删除缩进的空格内容,再用空格重新缩进

你可能感兴趣的:(xml)