[main] ERROR org.springframework.boot.SpringApplication – Application run

  • Post author:
  • Post category:其他


13:58:43.381 [main] ERROR org.springframework.boot.SpringApplication – Application run failed

org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping

in ‘reader’, line 2, column 1:

spring:

^

expected <block end>, but found ‘<block mapping start>’

in ‘reader’, line 5, column 2:

profiles:

^

yml配置有误

我的这样出了这个问题。下次用Ctrl+Alt+L整理一下

借鉴了

(10条消息) ERROR org.springframework.boot.SpringApplication – Application run failed org.yaml.snakeyaml.scanner_shaohuihong的博客-CSDN博客

谢谢~



版权声明:本文为weixin_64535621原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。