liuwuchuhao opened a new issue, #34719: URL: https://github.com/apache/shardingsphere/issues/34719
## Question **For English only**, other languages will not accept. Before asking a question, make sure you have: - Googled your question. - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues). - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview). Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will **close it**. 一开始报错 org.yaml.snakeyaml.representer.Representer: method 'void <init>()' not found 引入 <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>1.33</version> </dependency> 报错 Caused by: java.lang.ClassNotFoundException: org.yaml.snakeyaml.inspector.TagInspector at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?] 配置如下 shardingsphere: datasource: names: base-log base-log: type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://192.168.103.220:3309/base_log?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai username: "XXXXXXX" password: "XXXXXXXXXXX" rules: sharding: tables: login_log: actual-data-nodes: base-log.login_log table-strategy: standard: sharding-column: create_time sharding-algorithm-name: table-year-month sharding-algorithms: table-year-month: type: CLASS_BASED props: strategy: STANDARD algorithmClassName: com.maxvision.base.log.config.TableShardingAlgorithm props: sql.show: true # Sharding-JDBC的属性配置,这项配置是将SQL打印输出到日志 -- 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: notifications-unsubscr...@shardingsphere.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org