配置springcloud config出现Failed to configure a DataSource: 'url' attribute is not specified and no embe

mac2025-03-03  3

配置springcloud config报错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 很可能是没有引入springcloud config的依赖

<!--config依赖--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-config</artifactId> <version>2.1.1.RELEASE</version> </dependency>
最新回复(0)