首页 > 编程语言 > 详细

SpringCloud_问题记录

时间:2019-06-24 13:03:43      阅读:116      评论:0      收藏:0      [点我收藏+]

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空格键

SpringCloud_问题记录

原文:https://www.cnblogs.com/zhougongjin/p/11076153.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!