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
Dubbo Telnet Unsupported command: ls #5690
Labels
type/bug
Bugs to being fixed
Comments
果然可以,感谢。 |
在dubbo-demo中运行provider后,使用telnet也会出现同样的问题 |
我去,原来是个坑。 |
dubbo 版本 2.7.5 @chickenlj 不知道什么时候修复 |
xylsh
added a commit
to xylsh/dubbo
that referenced
this issue
Feb 28, 2020
6 tasks
CrazyHZM
pushed a commit
that referenced
this issue
Mar 7, 2020
chickenlj
pushed a commit
that referenced
this issue
Mar 10, 2020
This was referenced Apr 10, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Steps to reproduce this issue
ls
,cd
,invoke
等命令;/META-INF/dubbo/internal/org.apache.dubbo.remoting.telnet.TelnetHandler
这个配置文件的时候,在解析第6到14这几行的时候,出现了类加载失败的情况。2.7.4.1
有所不同。org.apache.dubbo.rpc.protocol.dubbo.telnet
包移动到了org.apache.dubbo.qos.legacy
这个包下面。解决方案
把临时解决方案贴上来,希望能帮助遇到同样问题的小伙伴。
在项目
resources
目录中添加META-INF/dubbo/org.apache.dubbo.remoting.telnet.TelnetHandler
文本文件,然后将加载失败的类包名修改后,配置到文件中。文件内容如下:
在项目中添加配置项:
使用方法在官方文档中有说明:扩展telnet
这个问题修改
/META-INF/dubbo/internal/org.apache.dubbo.remoting.telnet.TelnetHandler
的文件内容后就会解决,如有使用不当之处,还望开发者回复。Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps?
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
The text was updated successfully, but these errors were encountered: