Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 使用TiSpark报NoSuchMethodError

What is the reason for this, and how can it be resolved? Thank you!
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 使用TiSpark报NoSuchMethodError
What is the reason for this, and how can it be resolved? Thank you!
Which version did the issue occur in, and how did it appear? What are the reproduction steps?
Please also paste the error message in text form, thank you~
This error indicates that the current version of the ANTLR tool is incorrect. Use this clue to troubleshoot and see if it can be resolved.
Calling a non-existent method or an incompatible version of the method
It seems to be a compatibility issue. Maybe this can help you TiSpark User Guide | PingCAP Documentation Center
The screenshot shows that log4j 1.2 is being used, but Spark has long switched to log4j2. It is likely a version issue; I suggest checking it again.