You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
Feature Request
The
DataSourceConfiguration
requires public no-args constructor onDataSource
. But thedruid-spring-boot-starter
create a class namedDruidDataSourceWrapper
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
.The text was updated successfully, but these errors were encountered: