1.启动springcloud项目报错
java.lang.IllegalStateException: Failed to load property source from location ‘classpath:/application.yml‘
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 8, column 3:
healthcheck:
^
分析原因:
使用eclipse编辑yml文件,不能使用tab空格键
原文:https://www.cnblogs.com/zhougongjin/p/11076153.html