首页 > 其他 > 详细

org.yaml.snakeyaml.scanner.ScannerException: while scanning an alias in 'reader', line 5, column 18: include: *

时间:2020-03-23 11:39:03      阅读:737      评论:0      收藏:0      [点我收藏+]

今天学习Spring Boot Actuator配置属性,其中一个属性(打开所有的监控点)management.endpoints.web.exposure.include=*,看文档说明如下:

技术分享图片

 

 然后我使用yml进行如下配置:

management:
endpoints:
web:
exposure:
include: *
启动项目提示标题错误,后台经过尝试和找度娘搜索,得知 *号 要加引号,也就是‘*‘,
management:
endpoints:
web:
exposure:
include: ‘*‘
重新启动项目,顺利启动。

org.yaml.snakeyaml.scanner.ScannerException: while scanning an alias in 'reader', line 5, column 18: include: *

原文:https://www.cnblogs.com/lfyu/p/12550638.html

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