首页 新闻 会员 周边

sharding-jdbc

0
悬赏园豆:20 [已关闭问题] 关闭于 2018-06-04 11:42

sharding-jdbc 在测试环境中分库分表是没有问题的 ,将之整合到现有的项目中启动报Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'orderItemTableShardingStrategys': Unsatisfied dependency expressed through constructor argument with index 1 of type [io.shardingsphere.core.api.algorithm.sharding.standard.PreciseShardingAlgorithm]: Could not convert constructor argument value of type [com.jiurun.iot.db.sharding.PreciseModuloTableShardingAlgorithm] to required type [io.shardingsphere.core.api.algorithm.sharding.standard.PreciseShardingAlgorithm]: Failed to convert value of type [com.jiurun.iot.db.sharding.PreciseModuloTableShardingAlgorithm] to required type [io.shardingsphere.core.api.algorithm.sharding.standard.PreciseShardingAlgorithm]; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.jiurun.iot.db.sharding.PreciseModuloTableShardingAlgorithm] to required type [io.shardingsphere.core.api.algorithm.sharding.standard.PreciseShardingAlgorithm]: no matching editors or conversion strategy found

哎哟,不错哦的主页 哎哟,不错哦 | 初学一级 | 园豆:184
提问于:2018-05-29 15:22
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册