CIRCULAR REFERENCE: java.lang.NoSuchMethodError issue
See original GitHub issueThe following error occurred when I used spring data R2DBC.
Caused by: [CIRCULAR REFERENCE: java.lang.NoSuchMethodError: ‘org.springframework.data.relational.core.sql.TableLike org.springframework.data.relational.core.sql.Column.getTable()’]
This error occurs in the following situations:
implementation("org.springframework.boot:spring-boot-starter-data-r2dbc")
implementation("org.springframework.data:spring-data-r2dbc:1.5.5")
In build.gradle, Spring boot data R2DBC version 2.5.1 (similar issue with 2.7.5) and Spring Data R2DBC version 1.5.5 as shown above.
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to Fix java.lang.NoSuchMethodError in Java - Rollbar
If an application calls a method in a third party library, which exists at compile time but not at runtime, it can cause...
Read more >"Circular reference involving containing bean" error while ...
"Caused by: java.lang.NoSuchMethodError:" of a method but I see that class in multiple jars downloaded by maven which are under /root/.m2/ ...
Read more >Circular interception & java.lang.NoClassDefFoundError #292
Hi, I am new to byte-buddy, just started writing an agent to intercept http requests. The environment on which the agent runs would...
Read more >[JDK-8226809] Circular reference in printed stack trace is not ...
A DESCRIPTION OF THE PROBLEM : When printing the stack trace of an exception which has circular references, the text "[CIRCULAR REFERENCE:.
Read more >3 Steps to Fix NoSuchMethodErrors and ...
The potential root cause for a NoSuchMethodError is that one of the libraries we use in our project had a breaking change from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The first idea would be to use the version of Spring Data R2DBC which is used by your version of Spring Boot by default and not configure a version explicitly.
If this still causes the problem please provide a complete reproducer, preferable in form of a Github repository.
An increase of the patch version (third part of the version number) should always work.
An increase of the minor version (second part of the version number) should work in theory.
An increase of the major version is likely to fail.
A decrease of the version number in any way is expected to introduce problems.