Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Circular references problem when using RestTemplateBuilder on custom WebMvcConfigurer

Aperta
#2,193 7 commenti 7 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 24 giorni

@odrotbohm ci sta già lavorando.

Dal 24/10/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

status: waiting-for-triage

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!

Lingua principale
Java
Stelle
957
Fork
568
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di spring-projects/spring-data-rest

Tutte le issue di spring-projects/spring-data-rest

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.