如何解决Spring Boot中解析YAML配置的错误?

时间:2019-12-27 09:21:26

标签: spring spring-boot

我想在解析用于Eureka服务器配置的Spring Boot的块映射错误时解决

while parsing a block mapping
 in 'reader', line 5, column 3:
      application:
      ^
expected <block end>, but found '<block mapping start>'
 in 'reader', line 15, column 4:
       hikari:

image in application.yml

1 个答案:

答案 0 :(得分:0)

缩进不正确。

光是右边的空间太大。