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:
[email protected]


Reply via email to