Encountering NoSuchMethodError When Using TiSpark

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 使用TiSpark报NoSuchMethodError

| username: TiDBer_YQ5s65BA

What is the reason for this, and how can it be resolved? Thank you!

| username: ShawnYan | Original post link

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~

| username: Jellybean | Original post link

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.

| username: redgame | Original post link

Calling a non-existent method or an incompatible version of the method

| username: cassblanca | Original post link

It seems to be a compatibility issue. Maybe this can help you TiSpark User Guide | PingCAP Documentation Center

| username: ShawnYan | Original post link

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.