【springboot3分支 issues/7353】The bean 'dataSource', defined in class path resource #7353

This commit is contained in:
JEECG
2024-10-19 19:30:05 +08:00
parent 6d432bc186
commit 79f7134bd5
12 changed files with 53 additions and 33 deletions

View File

@ -105,7 +105,7 @@ spring:
static-locations: classpath:/static/,classpath:/public/
autoconfigure:
exclude:
- com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
datasource:
druid:

View File

@ -105,7 +105,7 @@ spring:
static-locations: classpath:/static/,classpath:/public/
autoconfigure:
exclude:
- com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
datasource:
druid: