spring-data-rest icon indicating copy to clipboard operation
spring-data-rest copied to clipboard

Circular references problem when using RestTemplateBuilder on custom WebMvcConfigurer

Open fangjian0423 opened this issue 3 years ago • 7 comments

Hi,

We encounter a circular references problem when using spring-boot-starter-data-rest with Azure AAD Starter spring-cloud-azure-starter-active-directory, refer https://github.com/Azure/azure-sdk-for-java/issues/31497.

The problem will be resolved when change spring-boot-starter-data-rest to spring-boot-starter-web.

I investigate it and find that the mvcConversionService bean used in RepositoryRestMvcConfiguration cause the problem, more details could see https://github.com/Azure/azure-sdk-for-java/issues/31497#issuecomment-1288458597.

The azure issue mentioned before describe how to reproduce the problem. If you think Azure AAD Starter is complex, I created a easily sample to reproduce it.

Are there any workarounds for this or any plans to fix it? thanks!

fangjian0423 avatar Oct 24 '22 12:10 fangjian0423

hi @odrotbohm , any updates about this? thanks!

fangjian0423 avatar Oct 27 '22 14:10 fangjian0423

There are any updates on this issue?

Thank you very much!

mnhock avatar Nov 22 '22 04:11 mnhock

Please may I know any update on this.. I am facing same issue

raghu-tws avatar Nov 23 '22 19:11 raghu-tws

It seems like nobody cares from Spring Data Rest Team. Is Spring Data Rest project kind of dead?

gsolecki avatar Feb 20 '23 21:02 gsolecki

Hello Do you have any news on this topic ? It's quite blocking for all people that want to use azure.

Thanks

remybd avatar Mar 13 '23 00:03 remybd

Hi @remybd!

The only solution for us is to downgrade to azure 4.3.0.

mnhock avatar Mar 13 '23 08:03 mnhock

In 2025. Any updates for this? @odrotbohm

joeykay9 avatar Jan 07 '25 14:01 joeykay9