Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

circular dependency between hateoas beans - WebConverters #2081

Open
swaroopar opened this issue Dec 21, 2023 · 0 comments
Open

circular dependency between hateoas beans - WebConverters #2081

swaroopar opened this issue Dec 21, 2023 · 0 comments

Comments

@swaroopar
Copy link

swaroopar commented Dec 21, 2023

Hi Team,

We have a spring boot application which uses RestTemplate and it works fine. Now we have added another library called 'activiti' which also provided spring boot starter configuration for its beans. But after adding this library, the application does not boot anymore. We see the below circular dependency error.

spring-hateoas version - 2.2.0
spring-boot version - 3.2.0

Could please help here?

customRestTemplate defined in class path resource [org/eclipse/xpanse/modules/deployment/deployers/terraform/config/TerraformBootRestTemplateConfig.class]

hypermediaRestTemplateConfigurer defined in class path resource [org/springframework/hateoas/config/RestTemplateHateoasConfiguration.class]
┌─────┐
| hypermediaWebMvcConverters defined in class path resource [org/springframework/hateoas/config/HateoasConfiguration.class]
↑ ↓
| jacksonObjectMapper defined in class path resource [org/springframework/boot/autoconfigure/jackson/JacksonAutoConfiguration$JacksonObjectMapperConfiguration.class]
↑ ↓
| jacksonObjectMapperBuilder defined in class path resource [org/springframework/boot/autoconfigure/jackson/JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration.class]
↑ ↓
| standardJacksonObjectMapperBuilderCustomizer defined in class path resource [org/springframework/boot/autoconfigure/jackson/JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration.class]
↑ ↓
| customizeProcessModelObjectMapper defined in class path resource [org/activiti/api/runtime/conf/impl/ProcessModelAutoConfiguration.class]
↑ ↓
| org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration
↑ ↓
| hypermediaWebMvcConfigurer defined in class path resource [org/springframework/hateoas/config/WebMvcHateoasConfiguration.class]
└─────┘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant