Spring 5 Functional Web Framework is not working with Eureka Client

心不动则不痛 提交于 2019-12-08 14:19:44

问题


Spring 5 Functional Web Framework is not working when I enable Microservice environment { Config-Server, Service-Registry(Eureka), Gateway(Zuul) }

I've a Maven + Spring Boot(v. 2.0.0.M3) + Spring Cloud(v. Finchley.M2) + JDO (DataNucleus) + MySQL application with Annotation based Rest Controller as well as Web Functional based RouterFunction.

When I run my application Without Eureka Client Dependency. Everything works fine, My Annotation based & Functional calls working smoothly..

<dependency>
  <groupId>org.springframework.cloud</groupId>
  <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>

Time when I run my application With Eureka Client Dependency., Only Annotation based rest calls are working fine and Functional based calls returning 404..

Is there any other things that are required to register Router Functions in Spring cloud Microservice Environment?

来源:https://stackoverflow.com/questions/46196773/spring-5-functional-web-framework-is-not-working-with-eureka-client

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!