Camunda 7, Spring embedded service & Eureka Client error

We are getting below error while registering our embedded Camunda 7 service with the Eureka server.
UnsatisfiedDependencyException: Error creating bean with name ‘scopedTarget.eurekaClient’
We are using the below versions
Spring-Boot: (v3.2.5)
Camunda Platform: (v7.21.0)
Camunda Platform Spring Boot Starter: (v7.21.0)
Java 17

Hello my friend!

What are the dependencies of your project?
What is your Spring Cloud version?

Is your main class annotated with @EnableEurekaClient?
If it is noted and it is still not working, it is likely that your Spring Cloud version is above 2020.0.0, and this note no longer works…

But you can replace it with the @EnableDiscoveryClient annotation

Hope this helps.

William Robert Alves

We are using Spring Cloud version 2023.0.2 & we have already annotated our main class with @EnableDiscoveryClient. But its not working, giving error - UnsatisfiedDependencyException: Error creating bean with name ‘scopedTarget.eurekaClient’

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.