Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用该插件,报错“"Not found exported service: xxx.MockService, may be version or group mismatch!" #33

Closed
zhuofengxichen opened this issue Nov 15, 2018 · 6 comments
Labels
type/enhancement New feature or request

Comments

@zhuofengxichen
Copy link

No description provided.

@ningyu1
Copy link
Collaborator

ningyu1 commented Nov 16, 2018

这个就是检查一下接口的版本号(version)和分组(group)的对应关系,有可能你的接口的版本和分组跟插件中填写的不一样,修改成一样即可,如果没有就清空输入框不用填写

@zhuofengxichen
Copy link
Author

配置的是一样的,本地代码通过泛化可以调用,但是使用插件不行

@ningyu1
Copy link
Collaborator

ningyu1 commented Nov 19, 2018

使用什么方式调用?zk还是直连?服务端接口暴漏的url是什么?可以提供出来吗

@zhuofengxichen
Copy link
Author

1、使用zk方式调用
2、看了下源码,发现是字段定义不太一样,把你ui里的group当成了zk的group,改了下源码,ok了。

@ningyu1
Copy link
Collaborator

ningyu1 commented Nov 21, 2018

@zhuofengxichen
插件的group使用的是service的group属性,不是registry的group,不过下个版本可以把registry的group配置项放开到ui上设置

@ningyu1 ningyu1 added the type/enhancement New feature or request label Nov 21, 2018
@ningyu1
Copy link
Collaborator

ningyu1 commented Dec 18, 2018

V1.3.8

@ningyu1 ningyu1 closed this as completed Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants