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/07/01 02:55:47 UTC

[GitHub] [shardingsphere] tristaZero commented on issue #6175: EncryptDataSource cannot be cast to ShardingDataSource

tristaZero commented on issue #6175:
URL: https://github.com/apache/shardingsphere/issues/6175#issuecomment-652157311


   @moses-keqi Hi
   > nested exception is java.lang.ClassCastException: org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.EncryptDataSource cannot be cast to org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingDataSource
   
   These parts of the log can not give us some useful hints, so more detailed logs are needed.
   Besides, At first glance, it looks like you mix up the `ShardingRule` and `EncryptRule.` My suggestion is you'd better review your configuration referring to our document.
   
   Thanks,
   Trista


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