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 2021/01/07 12:32:09 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue #8940: shardingsphere-jdbc-governance incompatible with druid-spring-boot-starter

TeslaCN opened a new issue #8940:
URL: https://github.com/apache/shardingsphere/issues/8940


   ## Feature Request
   
   The `DataSourceConfiguration` requires public no-args constructor on `DataSource`. But the `druid-spring-boot-starter` create a class named `DruidDataSourceWrapper` extends DruidDataSource, but without public no-args constructor.
   
   https://github.com/alibaba/druid/blob/5761dccf904c1fe8120767f86d67ccf0be171726/druid-spring-boot-starter/src/main/java/com/alibaba/druid/spring/boot/autoconfigure/DruidDataSourceWrapper.java#L32
   
   If we used the druid starter, an exception 
   ```java.lang.NoSuchMethodException: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper.<init>()```
   will occurred when invoking `org.apache.shardingsphere.infra.config.datasource.DataSourceConfiguration#createDataSource`.


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



[GitHub] [shardingsphere] TeslaCN commented on issue #8940: shardingsphere-jdbc-governance incompatible with druid-spring-boot-starter

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #8940:
URL: https://github.com/apache/shardingsphere/issues/8940#issuecomment-773064627


   Hi @yu199195 
   I think this issue is different with #1900. This issue is failed to instantiate a DataSource without no-args constructor.


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



[GitHub] [shardingsphere] TeslaCN commented on issue #8940: shardingsphere-jdbc-governance incompatible with druid-spring-boot-starter

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #8940:
URL: https://github.com/apache/shardingsphere/issues/8940#issuecomment-773064627


   Hi @yu199195 
   I think this issue is different with #1900. This issue is failed to instantiate a DataSource without no-args constructor.


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



[GitHub] [shardingsphere] linghengqian edited a comment on issue #8940: shardingsphere-jdbc-governance incompatible with druid-spring-boot-starter

Posted by GitBox <gi...@apache.org>.
linghengqian edited a comment on issue #8940:
URL: https://github.com/apache/shardingsphere/issues/8940#issuecomment-1050848342


   Caused by the situation mentioned in https://github.com/alibaba/druid/issues/4673?
   
   update: May be I understand is wrong, the problem on https://github.com/alibaba/druid/issues/4481 by simple processing.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN commented on issue #8940: shardingsphere-jdbc-governance incompatible with druid-spring-boot-starter

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #8940:
URL: https://github.com/apache/shardingsphere/issues/8940#issuecomment-1073432768


   Fixed since Druid 1.2.8.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] yu199195 commented on issue #8940: shardingsphere-jdbc-governance incompatible with druid-spring-boot-starter

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #8940:
URL: https://github.com/apache/shardingsphere/issues/8940#issuecomment-773059787


   hi, you will see this : https://github.com/apache/shardingsphere/issues/1900


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



[GitHub] [shardingsphere] linghengqian edited a comment on issue #8940: shardingsphere-jdbc-governance incompatible with druid-spring-boot-starter

Posted by GitBox <gi...@apache.org>.
linghengqian edited a comment on issue #8940:
URL: https://github.com/apache/shardingsphere/issues/8940#issuecomment-1050848342


   Caused by the situation mentioned in https://github.com/alibaba/druid/issues/4673?
   
   update: Maybe I understand is wrong, the problem on https://github.com/alibaba/druid/issues/4481 by simple processing.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN closed issue #8940: shardingsphere-jdbc-governance incompatible with druid-spring-boot-starter

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #8940:
URL: https://github.com/apache/shardingsphere/issues/8940


   


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] linghengqian commented on issue #8940: shardingsphere-jdbc-governance incompatible with druid-spring-boot-starter

Posted by GitBox <gi...@apache.org>.
linghengqian commented on issue #8940:
URL: https://github.com/apache/shardingsphere/issues/8940#issuecomment-1050848342


   Caused by the situation mentioned in https://github.com/alibaba/druid/issues/4673?


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org