tuwh opened a new issue, #28717:
URL: https://github.com/apache/shardingsphere/issues/28717
## Bug Report
### Which version of ShardingSphere did you use?
5.4.0
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
The dependent plug-in snakeyaml version is 1.33, which is vulnerable. The
component version in my project is 2.0. However, the startup will fail due to
class conflicts. Will the dependent snakeyaml components be considered for
upgrade?
### Actual behavior
this is the exception stack
Caused by: java.lang.NoSuchMethodError:
org.yaml.snakeyaml.representer.Representer: method <init>()V not found
at
org.apache.shardingsphere.infra.util.yaml.representer.ShardingSphereYamlRepresenter.<init>(ShardingSphereYamlRepresenter.java:42)
~[shardingsphere-infra-util-5.4.0.jar:5.4.0]
### Reason analyze (If you can)
The latest version of snakeyaml removes the no-argument constructor of the
org.yaml.snakeyaml.representer.Representer class
### 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]