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

来源:互联网 发布:秋风印花分色软件 编辑:程序博客网 时间:2024/06/06 01:21

今天在调试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


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

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

阅读全文
0 0
原创粉丝点击