# Camunda 7, Spring embedded service & Eureka Client error

**URL:** <https://forum.camunda.io/t/camunda-7-spring-embedded-service-eureka-client-error/53344>\
**Category:** Camunda 7 Topics\
**Created:** [June 27, 2024, 2:35pm UTC](https://forum.camunda.io/t/camunda-7-spring-embedded-service-eureka-client-error/53344 "2024-06-27T14:35:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hemant\_Sonawane](https://forum.camunda.io/user_avatar/forum.camunda.io/hemant_sonawane/32/26836_2.png) [@Hemant\_Sonawane](https://forum.camunda.io/u/Hemant_Sonawane)\
**Post date:** [June 27, 2024, 2:35pm UTC](https://forum.camunda.io/t/camunda-7-spring-embedded-service-eureka-client-error/53344/1 "2024-06-27T14:35:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![WilliamR.Alves](https://forum.camunda.io/user_avatar/forum.camunda.io/williamr.alves/32/27412_2.png) [@WilliamR.Alves](https://forum.camunda.io/u/WilliamR.Alves)\
**Post date:** [June 28, 2024, 5:38pm UTC](https://forum.camunda.io/t/camunda-7-spring-embedded-service-eureka-client-error/53344/2 "2024-06-28T17:38:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Hemant\_Sonawane](https://forum.camunda.io/user_avatar/forum.camunda.io/hemant_sonawane/32/26836_2.png) [@Hemant\_Sonawane](https://forum.camunda.io/u/Hemant_Sonawane)\
**Post date:** [June 29, 2024, 2:47am UTC](https://forum.camunda.io/t/camunda-7-spring-embedded-service-eureka-client-error/53344/3 "2024-06-29T02:47:03Z")

</div>

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’

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [September 27, 2024, 2:47am UTC](https://forum.camunda.io/t/camunda-7-spring-embedded-service-eureka-client-error/53344/4 "2024-09-27T02:47:51Z")

</div>

Closed on September 27, 2024, 2:47am UTC

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