diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfiguration.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfiguration.java index 5a741588..62d09e21 100644 --- a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfiguration.java +++ b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfiguration.java @@ -21,6 +21,8 @@ import java.util.concurrent.ConcurrentMap; import javax.annotation.PostConstruct; +import lombok.SneakyThrows; + import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.autoconfigure.AutoConfigureBefore; @@ -45,10 +47,9 @@ import com.netflix.appinfo.EurekaInstanceConfig; import com.netflix.appinfo.InstanceInfo; import com.netflix.discovery.EurekaClient; import com.netflix.discovery.EurekaClientConfig; +import com.netflix.discovery.converters.JsonXStream; import com.netflix.discovery.converters.XmlXStream; -import lombok.SneakyThrows; - /** * @author Dave Syer */ @@ -72,6 +73,8 @@ public class EurekaClientAutoConfiguration implements ApplicationListener