记录学习springboot的错误

Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key

 in 'reader', line 11, column 1:

    minMoney:1

    ^

could not find expected ':'

 in 'reader', line 11, column 11:

    minMoney:1

              ^

在appication.yml进行value注解读取值 报了上方的错误

记录学习springboot的错误

必须要加个空格 让前面的变量名变颜色

记录学习springboot的错误

就能启动成功了

记录学习springboot的错误

值已经传过来了

记录学习springboot的错误

日常开发大家一定要注意这些小细节