wsm12138 opened a new issue, #31134: URL: https://github.com/apache/shardingsphere/issues/31134
## Bug Report **For English only**, other languages will not accept. Before report a bug, make sure you have: - 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**. Please answer these questions before submitting your issue. Thanks! ### Which version of ShardingSphere did you use? cf4a0853401924082a0f7c8bdf699f4c1441e130 ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? JDBC ### Expected behavior ### Actual behavior ``` 17:19:44,796 [main] INFO jTPCC : Term-00, config=/opt/jenkins/benchmarksql/run/config-tpcc.yaml 17:19:44,797 [main] INFO ShardingJdbc : create in SHARDING!!!sharding:opengauss://localhost:5432/test?loggerLevel=OFF java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at ShardingJdbc.loadShardingDataSource(ShardingJdbc.java:34) at ShardingJdbc.getDataSource(ShardingJdbc.java:58) at ShardingJdbc.getConnection(ShardingJdbc.java:73) at jTPCCUtil.getConfig(jTPCCUtil.java:76) at jTPCC.<init>(jTPCC.java:347) at jTPCC.main(jTPCC.java:68) Caused by: java.lang.NoClassDefFoundError: org/apache/shardingsphere/globalclock/core/yaml/config/YamlGlobalClockRuleConfiguration at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.privateGetPublicMethods(Class.java:2902) at java.lang.Class.getMethods(Class.java:1615) at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1336) at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1197) at java.beans.Introspector.getBeanInfo(Introspector.java:426) at java.beans.Introspector.getBeanInfo(Introspector.java:173) at org.yaml.snakeyaml.introspector.PropertyUtils.getPropertiesMap(PropertyUtils.java:81) at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:149) at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:145) at org.yaml.snakeyaml.TypeDescription.discoverProperty(TypeDescription.java:166) at org.yaml.snakeyaml.TypeDescription.getProperty(TypeDescription.java:177) at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:224) at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:169) at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:320) at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:264) at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:247) at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:201) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:185) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:493) at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:459) at org.apache.shardingsphere.infra.util.yaml.YamlEngine.unmarshal(YamlEngine.java:56) at org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory.createDataSource(YamlShardingSphereDataSourceFactory.java:56) ... 10 more Caused by: java.lang.ClassNotFoundException: org.apache.shardingsphere.globalclock.core.yaml.config.YamlGlobalClockRuleConfiguration at java.net.URLClassLoader.findClass(URLClassLoader.java:387) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 34 more java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) at ShardingJdbc.getDataSource(ShardingJdbc.java:59) at ShardingJdbc.getConnection(ShardingJdbc.java:73) at jTPCCUtil.getConfig(jTPCCUtil.java:76) at jTPCC.<init>(jTPCC.java:347) at jTPCC.main(jTPCC.java:68) 17:19:44,942 [main] ERROR jTPCC : Term-00, null Term-00, Running Average tpmTOTAL: 0.00 Current tpmTOTAL: 0 Memory Usage: 2458MB / 30208MB ``` ### Reason analyze (If you can) ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc. ### Example codes for reproduce this issue (such as a github link). -- 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]
