JianfeiMa opened a new issue, #29402:
URL: https://github.com/apache/shardingsphere/issues/29402

   2023-12-14T16:52:45.441+08:00  INFO 11512 --- [           main] 
com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
   2023-12-14T16:52:45.730+08:00  INFO 11512 --- [           main] 
com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection 
conn0: url=jdbc:h2:mem:config user=SA
   2023-12-14T16:52:45.732+08:00  INFO 11512 --- [           main] 
com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
   Exception in thread "main" java.lang.NoSuchMethodError: 
org.yaml.snakeyaml.representer.Representer: method 'void <init>()' not found
        at 
org.apache.shardingsphere.infra.util.yaml.representer.ShardingSphereYamlRepresenter.<init>(ShardingSphereYamlRepresenter.java:42)
        at 
org.apache.shardingsphere.infra.util.yaml.YamlEngine.marshal(YamlEngine.java:112)
        at 
org.apache.shardingsphere.metadata.persist.service.config.global.NewPropertiesPersistService.persist(NewPropertiesPersistService.java:51)
        at 
org.apache.shardingsphere.metadata.persist.NewMetaDataPersistService.persistGlobalRuleConfiguration(NewMetaDataPersistService.java:97)
        at 
org.apache.shardingsphere.mode.metadata.NewMetaDataContextsFactory.persistDatabaseConfigurations(NewMetaDataContextsFactory.java:147)
        at 
org.apache.shardingsphere.mode.metadata.NewMetaDataContextsFactory.create(NewMetaDataContextsFactory.java:102)
        at 
org.apache.shardingsphere.mode.metadata.NewMetaDataContextsFactory.create(NewMetaDataContextsFactory.java:71)
        at 
org.apache.shardingsphere.mode.manager.standalone.NewStandaloneContextManagerBuilder.build(NewStandaloneContextManagerBuilder.java:53)
        at 
org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource.createContextManager(ShardingSphereDataSource.java:78)
        at 
org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource.<init>(ShardingSphereDataSource.java:66)
        at 
org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory.createDataSource(ShardingSphereDataSourceFactory.java:95)
        at com.example.demo.DemoApplication.main(DemoApplication.java:53)
   


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

Reply via email to