coderMmw commented on issue #5208: data fragmentation and separation of reading 
and writing problem
URL: 
https://github.com/apache/incubator-shardingsphere/issues/5208#issuecomment-614516485
 
 
   
   It's been found to be a problem in this place,but new problems arise after 
modification
   `Caused by: org.springframework.beans.BeanInstantiationException: Failed to 
instantiate 
[org.apache.shardingsphere.shardingjdbc.spring.datasource.SpringShardingDataSource]:
 Constructor threw exception; nested exception is java.lang.NoSuchMethodError: 
org.apache.shardingsphere.api.config.sharding.TableRuleConfiguration.getEncryptorConfig()Lorg/apache/shardingsphere/api/config/encryptor/EncryptorConfiguration;
        at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
        at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
        at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
        ... 113 more
   Caused by: java.lang.NoSuchMethodError: 
org.apache.shardingsphere.api.config.sharding.TableRuleConfiguration.getEncryptorConfig()Lorg/apache/shardingsphere/api/config/encryptor/EncryptorConfiguration;
        at 
org.apache.shardingsphere.core.rule.TableRule.<init>(TableRule.java:106)
        at 
org.apache.shardingsphere.core.rule.ShardingRule.createTableRules(ShardingRule.java:99)
        at 
org.apache.shardingsphere.core.rule.ShardingRule.<init>(ShardingRule.java:85)
        at 
org.apache.shardingsphere.shardingjdbc.spring.datasource.SpringShardingDataSource.<init>(SpringShardingDataSource.java:38)
        at sun.reflect.GeneratedConstructorAccessor28.newInstance(Unknown 
Source)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
        ... 115 more`

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


With regards,
Apache Git Services

Reply via email to