zdd1998 opened a new issue, #26788: URL: https://github.com/apache/shardingsphere/issues/26788
my project use sharding-jdbc,4.1.1 version,and meet a problem! **Error creating bean with name 'shardingDataSource' defined in class path resource [org/apache/shardingsphere/shardingjdbc/spring/boot/SpringBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'shardingDataSource' threw exception; nested exception is java.sql.SQLException: Can't find file: 'data_10' (errno: 2 - No such file or directory)** I debuged and found that sharding jdbc perform both loadShardingSchemeMetaData and loadDefaultSchemeMetaData in the ShardingMetaDataLoader class. I don't know why loadDefaultSchemeMetaData method need be invoked, and it seems there is no parameter can prevent it。 this property check.table.metadata.enabled set false as default and it just work on loadShardingSchemeMetaData method, What is the actual meaning of this parameter? Did anyone meet the same problem,please give me some help! Thx! -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
