question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CIRCULAR REFERENCE: java.lang.NoSuchMethodError issue

See original GitHub issue

The 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:closed
  • Created 10 months ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
schaudercommented, Nov 14, 2022

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.

0reactions
schaudercommented, Nov 14, 2022

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.

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found