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
原因:
没有配置数据源,但springboot默认启用了数据源配置
解决办法:
启动类添加exclude参数,不启用DataSource
原文地址:https://www.cnblogs.com/alanchenjh/p/12340898.html
时间: 2024-10-11 10:24:27