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/11/30 08:25:47 UTC

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

zhaofangcheng commented on issue #2712:
URL: https://github.com/apache/shardingsphere/issues/2712#issuecomment-735634447


   > 我发现什么原因了,也是被困扰了两天,是因为引入的druid方式错误,
   > 错误引入方式:
   > `<dependency>`
   > ` <groupId>com.alibaba</groupId>`
   > ` <artifactId>druid-spring-boot-starter</artifactId>`
   > ` <version>${druid.version}</version>`
   > `</dependency>`
   > 正确引入方式:
   > `<dependency>`
   > ` <groupId>com.alibaba</groupId>`
   > ` <artifactId>druid</artifactId>`
   > ` <version>${druid.version}</version>`
   > `</dependency>`
   
   this works for me.


----------------------------------------------------------------
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