dubbo-admin icon indicating copy to clipboard operation
dubbo-admin copied to clipboard

CompletableFuture API err: System Error, please try again later! Message:dubbo 2.6 does not support metadata

Open daidai21 opened this issue 3 years ago • 3 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ ] I have checked the REAMDE of this repository and believe that this is not a duplicate.

Environment

  • Dubbo Admin version: recent
  • Operating System version: mac
  • Java version: 1.8

Steps to reproduce this issue

define api:


public interface HelloService {

    CompletableFuture<String> sayHelloAsync(String name);
}

then run server: image

System Error, please try again later! Message:dubbo 2.6 does not support metadata

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:

Just put your stack trace here!

daidai21 avatar Jun 05 '22 16:06 daidai21

是用的 dubbo 2.6 版本吗, 可以检查一下 dubbo 服务的配置中心和元数据中心有没有配置。

haoyann avatar Jun 06 '22 06:06 haoyann

public interface HelloService {
    String sayHello(String name);
}

可是同样的环境,这种接口没问题,异步接口就不行

daidai21 avatar Jun 06 '22 15:06 daidai21

dubbo 版本时多少,我使用 3.0.8 版本本地测试异步是正常的.

haoyann avatar Jun 08 '22 02:06 haoyann