SpringBoot項目:Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded...

SpringBoot項目 打包後運行時提示以下錯誤:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 看到錯誤首先排查了配置嵌入的數據源。 檢查了幾個數據庫配置文件突然看到了配置的mysql數據源格式有問題,加空格格式化
相關文章
相關標籤/搜索