org.yaml.snakeyaml.scanner.ScannerException: while scanning an alias in ‘reader‘, line 42, column 1
程序员文章站
2022-04-15 17:35:31
...
错误信息:
Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning an alias
in 'reader', line 42, column 18:
include: *
^
解决办法:
将*
用单引号包裹,比如:
# 暴露部分信息,然后在sentinel控制台中以图表方式显示
management:
endpoints:
web:
exposure:
include: '*'