DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
今天写了一个小的 SpringBoot 的 DEMO
启动的时候报错如上
解决办法,在 yml 文件里增加 数据库的相关配置
参考资料:
1。Spring boot 启动报错 Failed to auto-configure a DataSource
https://blog.csdn.net/liuyinfei_java/article/details/79750146