SpringBoot整合mvc遇到的问题Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple

成功解决Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key

报错信息如下:Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key

解决方法:
application.yml文件键值之间要用冒号:隔开,而且冒号和值之间有一个空格,否则就报上面的错误!
错误写法:
enableWebDubug:true

修改后的application.yaml文件!
SpringBoot整合mvc遇到的问题Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple_第1张图片
正常启动的画面!

你可能感兴趣的:(spring,java,开发,编程,遇到的问题)