解决方案:在注册中心启动类上加 exclude= {DataSourceAutoConfiguration.class}
相关文章
- 11-30Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
- 11-30Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- 11-30Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- 11-30Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- 11-30Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- 11-30报错:Failed to configure a DataSource: 'url' attribute is not specified and no embedded data
- 11-30Failed to configure a DataSource: ‘url‘ attribute is not specified
- 11-30Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured
- 11-30Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasou
- 11-30IDEA报错: Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'spring.datasource.url' in value "${spring.datasource.url}"