daipeizhe commented on PR #28805:
URL: https://github.com/apache/shardingsphere/pull/28805#issuecomment-2034196095

   > > > > I found that even with ShardingSphere 5.4.1 and SnakeYaml 2.1, the 
startup was successful. Why?
   > > > 
   > > > 
   > > > 
   > > > * There are many possible reasons. For example, you did not call the 
conflicting method of SnakeYAML. This may be because you only created the 
ShardingSphere data source through DistSQL of ShardingSphere Proxy or the Java 
API of ShardingSphere JDBC.
   > > 
   > > 
   > > If I manually reference SnakeYaml in the pom.xml file and specify a 
version above 2.x, the startup is fine; However, if you do not manually 
reference SnakeYaml, the SnakeYaml version of the project, although it is also 
2.0, will still start error. In addition, I did configure ShardingSphere JDBC 
through the Java API.
   > 
   > * This doesn't really mean anything, as ShardingSphere JDBC 5.4.1 
explicitly uses methods that were removed from SnakeYAML 2.0.
   
   You're right, I found out that the framework I was using overwrote the 
missing parameterless Representer class constructor.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to