Closed
Description
javax.servlet.ServletException: Circular view path []: would dispatch back to the current handler URL [/governance/services/b/com.tenxcloud.example.dubbos.CityService/] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
Activity
nzomkxia commentedon Jul 9, 2018
can you provide an URL address
soonway commentedon Jul 14, 2018
根据ServicesController这里定义的URI:/services/$service/providers
在dubbo服务分组时拿到的$service其实是包含了group的URI,但是并没有做包含group的URI映射处理。
比如group是news,则这个URL就像下面的样子
http://xxx.xxx.xxx.xxx/governance/services/news/com.xxx.xxx.facade.service.IconFacede:1.0/providers
我试着在2.5.3的war包里面运行,在服务分组的情况下也是正常的。
wangzhangxing commentedon Jul 19, 2018
me too 啊
tanyouxiang commentedon Jul 19, 2018
我也遇到了,服务分组了以后就不行.
yinghuzhu commentedon Aug 2, 2018
the root cause is that the "ServiceKey" is generated by group + "/"+interface+":"+version ; the source code located at: com/alibaba/dubbo/common/URL.java:1211
So, I suggest: "ServiceKey" = group + ":"+interface+":"+version
any idea ?
xllove-moon commentedon Sep 11, 2018
I meet this problem too!
cookerzhu commentedon Oct 29, 2018
The ServiceKey starts with a '/' which will conflict with the url pattern
zhaobingss commentedon Nov 13, 2018
这个问题有解决的办法吗?
@nzomkxia
zhuSilence commentedon Dec 10, 2018
The same as this error. How to solve it?
wanxx284105892 commentedon Apr 26, 2020
这个问题现在解决了吗? @nzomkxia
fix 404 and 500 when there are grouped services (#669)
KeRan213539 commentedon Mar 4, 2021
This problem has been fixed by #669.
Please feel free to reopen it if you have any question.