-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The service starts the error when upgrade snakeyaml to version 2.0 #27370
Comments
|
这个问题什么时候可以解决呢,比较着急。我应该升级shardingsphere到哪个版本 @TeslaCN |
Have you solved your problem? |
|
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
Caused by: java.lang.NoSuchMethodError: org.yaml.snakeyaml.representer.Representer: method ()V not found
at org.apache.shardingsphere.underlying.common.yaml.representer.DefaultYamlRepresenter.(DefaultYamlRepresenter.java:33) ~[shardingsphere-common-4.1.1.jar:4.1.1]
at org.apache.shardingsphere.underlying.common.yaml.engine.YamlEngine.marshal(YamlEngine.java:170) ~[shardingsphere-common-4.1.1.jar:4.1.1]
at org.apache.shardingsphere.core.log.ConfigurationLogger.log(ConfigurationLogger.java:65) ~[sharding-core-common-4.1.1.jar:4.1.1]
at org.apache.shardingsphere.core.log.ConfigurationLogger.log(ConfigurationLogger.java:54) ~[sharding-core-common-4.1.1.jar:4.1.1]
at org.apache.shardingsphere.shardingjdbc.jdbc.core.context.AbstractRuntimeContext.(AbstractRuntimeContext.java:58) ~[sharding-jdbc-core-4.1.1.jar:4.1.1]
at org.apache.shardingsphere.shardingjdbc.jdbc.core.context.MultipleDataSourcesRuntimeContext.(MultipleDataSourcesRuntimeContext.java:50) ~[sharding-jdbc-core-4.1.1.jar:4.1.1]
at org.apache.shardingsphere.shardingjdbc.jdbc.core.context.ShardingRuntimeContext.(ShardingRuntimeContext.java:49) ~[sharding-jdbc-core-4.1.1.jar:4.1.1]
at org.apache.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingDataSource.(ShardingDataSource.java:54) ~[sharding-jdbc-core-4.1.1.jar:4.1.1]
at org.apache.shardingsphere.shardingjdbc.api.ShardingDataSourceFactory.createDataSource(ShardingDataSourceFactory.java:48) ~[sharding-jdbc-core-4.1.1.jar:4.1.1]
The text was updated successfully, but these errors were encountered: