派送點項目啟動報錯
Description: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
如圖:
百度翻譯:
配置數據源失敗:未指定“url”屬性,並且無法配置嵌入的數據源。
未能確定合適的驅動程序類
百度搜索解決方案:https://blog.csdn.net/u010448530/article/details/80840828
嘗試解決第一次:1、在@SpringBootApplication注解上加上exclude,解除自動加載DataSourceAutoConfiguration
好吧,沒解決
嘗試解決第二次:在
中加了database的配置