Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
在学习springcloud课程中,在连接Nacos配置中心时,把配置文件上传到Nacos后,启动项目报错,springboot项目报错为:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.报错内容为:配置数据源失败:没有指定'url'属性,无法配置任何嵌入的数据源。添加spring-cloud--bootstrap依赖。