caol64 opened a new issue, #21211:
URL: https://github.com/apache/shardingsphere/issues/21211

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   v5.2.0
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-JDBC
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   1. Create a druid datasource, and then add some filters.
   ```java
   DruidDataSource druidDataSource = new DruidDataSource();
   // ...
   druidDataSource.setProxyFilters(buildFilters());
   ```
   2. Create a shardingsphere datasource by ShardingSphereDataSourceFactory
   3. Exception occurs: Can't construct a java object for 
tag:yaml.org,2002:com.alibaba.druid.filter.stat.StatFilter; exception=Class is 
not accepted: com.alibaba.druid.filter.stat.StatFilter.
   
   ### Example codes for reproduce this issue (such as a github link).
   https://github.com/caol64/sharding-test
   


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to