coderMmw edited a comment on issue #5208:
URL: https://github.com/apache/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]


Reply via email to