spring boot启动报这个错误:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
我遇到的情况是application.yml文件不存在 或者application.yml里面的配置格式不正确,首先换行的首字母要空出来两个字符,冒号后面要有一个空格。