pototallxg commented on issue #4604:
URL: https://github.com/apache/shardingsphere/issues/4604#issuecomment-747824067


   i have the same problem,switch 5.0, error:
   nested exception is org.apache.ibatis.exceptions.PersistenceException: 
\r\n### Error updating database.  Cause: java.lang.ClassCastException: 
org.apache.shardingsphere.sharding.api.config.strategy.sharding.HintShardingStrategyConfiguration
 cannot be cast to 
org.apache.shardingsphere.sharding.api.config.strategy.sharding.StandardShardingStrategyConfiguration\r\n###
 The error may exist in 
com/cunfang/house/mapper/maintenance/HSaleShiKanMapper.java (best guess)\r\n### 
The error may involve 
com.cunfang.house.mapper.maintenance.HSaleShiKanMapper.insert-Inline\r\n### The 
error occurred while setting parameters\r\n### SQL: INSERT INTO HSale_ShiKan  ( 
shiKanTime, titleUrl, vrId, vrTitleUrl, city, houseId,  insertBid, 
insertUserName, insertTime,  status )  VALUES  ( ?, ?, ?, ?, ?, ?,  ?, ?, ?,  ? 
)\r\n### Cause: java.lang.ClassCastException: 
org.apache.shardingsphere.sharding.api.config.strategy.sharding.HintShardingStrategyConfiguration
 cannot be cast to org.apache.shardingsphere.sharding
 .api.config.strategy.sharding.StandardShardingStrategyConfiguration",


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