Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key
in 'reader', line 7, column 3:
name:test
^
could not find expected ':'
in 'reader', line 8, column 3:
url:jdbc:mysql://localhost:3306/ ...
^
*********************************************************************************************************
解决方法:
application.yml文件键值之间要用冒号:隔开,而且冒号和值之间有一个空格,否则就报上面的错误!
错误写法:
enableWebDubug:true
正确写法:
enableWebDubug: true