Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next tokenfound char

具体报错:

Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token
found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
 in 'reader', line 2, column 1:
    	info: welcome to atguigu study

我在学习过程中遇到了黄色字的报错:

当时看到老师没报错我怎么报错了还吓了一跳;

其实仔细看就会发现它已经给我们说出来了,让我们不要用tab

也怪自己粗心大意,在consul上写kv时已经提示不要用tab了。。。。。

所以我们直接改成空格就行了:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值