欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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: '*'
相关标签: java学习之路