今天在调试spring cloud的过程中,在启动了一个eureka server ,一个eureka调用者,一个eureka提供者之后。请求在提供者的方法中处理后一直返回不到调用者,报错:

[Circular view path [refundbbb]: would dispatch back to the current handler URL [/refundbbb] again. 
Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)] with root cause

spring cloud 报[Circular view path [refundbbb]: would dispatch back to the current handler URL [/refu

排查了好久,还一直以为是Feign返回的时候是不是也要配置路由。

后来将@Controller改成@RestController就好了。

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2021-09-27
猜你喜欢
  • 2021-07-02
  • 2021-08-16
  • 2021-10-19
  • 2022-12-23
  • 2021-06-05
  • 2021-11-18
  • 2022-12-23
相关资源
相似解决方案