You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/02/10 09:51:10 UTC

[GitHub] [incubator-shardingsphere] yl1935 commented on issue #2712: 【4.0.0-RC2 & 4.0.0-RC3-SNAPSHOT】sharding-jdbc-spring-boot-starter init dataSource failed

yl1935 commented on issue #2712: 【4.0.0-RC2 & 4.0.0-RC3-SNAPSHOT】sharding-jdbc-spring-boot-starter init dataSource failed
URL: https://github.com/apache/incubator-shardingsphere/issues/2712#issuecomment-584040162
 
 
   我在4.0.0版本中非注册中心配置没有问题,如果引入了sharding-jdbc-orchestration-spring-boot-starter就会报这个错误,比较了sharding-jdbc-orchestration-spring-boot-starter包中的OrchestrationSpringBootConfiguration.java和sharding-jdbc-spring-boot-starter包中的SpringBootConfiguration.java文件,发现少了@AutoConfigureBefore(DataSourceAutoConfiguration.class)这个注解,感觉是这里影响的。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services