Spring Eureka Client Fail to register with Eureka

435 Views Asked by At

Java Version : 19 Spring Boot Version : 3.0.1 Spring Cloud Version: 2022.0.1


APPLICATION FAILED TO START


Description:

Field optionalArgs in org.springframework.cloud.netflix.eureka.EurekaClientAutoConfiguration$RefreshableEurekaClientConfiguration required a bean of type 'com.netflix.discovery.AbstractDiscoveryClientOptionalArgs' that could not be found.

The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true)

Action:

Consider defining a bean of type 'com.netflix.discovery.AbstractDiscoveryClientOptionalArgs' in your configuration.

Unable to run Eureka client services

0

There are 0 best solutions below