【发布时间】:2021-07-08 04:32:42
【问题描述】:
当我使用执行器暴露端点时,我使用的是 springboot 2.5.2 版本,它显示了一些错误:
09:48:48.938 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
org.yaml.snakeyaml.scanner.ScannerException: while scanning an alias
in 'reader', line 18, column 18:
include: *
^
unexpected character found (0)
in 'reader', line 18, column 19:
include: *
^
bootstrap.yml:
management:
endpoints:
web:
exposure:
include: *
我在我的 gradle.kt 中使用执行器 gradle 依赖,但为什么我在 yml 文件中声明管理端点时遇到问题?
【问题讨论】:
标签: spring-boot spring-boot-actuator