不支持rest协议
[localhost-startStop-1] ERROR com.alibaba.dubbo.registry.integration.RegistryDirectory - Unsupported protocol rest in notified url: rest:
......
supported protocol: [dubbo, http, injvm, jedis, mock, redis, registry, rmi, thrift]
检查后发现消费者缺少支持rest协议的相关jar包,添加resteasy-client依赖后问题解决
<!-- https://mvnrepository.com/artifact/org.jboss.resteasy/resteasy-client -->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>3.6.3.Final</version>
</dependency>