您的位置:首页 > 编程语言 > Java开发

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

2017-12-17 14:38 645 查看
今天在调试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就好了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  spring cloud feign
相关文章推荐