提供服务者注册时有问题,由于没加入log4j.properties一直没有看到错误原因,
然后直接启动消费者,报如下错误。
Failed to check the status of the service com.taotao.service.ItemService. No provider available for the service com.taotao.service.ItemService from the url zookeeper://192.168.178.3:2181/com.alibaba.dubbo.registry.RegistryService?application=taotao-manager-web&dubbo=2.5.3&interface=com.taotao.service.ItemService&methods=getItemById&pid=13924&revision=0.0.1-SNAPSHOT&side=consumer×tamp=1533896808202 to the consumer 192.168.6.36 use dubbo version 2.5.3
at com.alibaba.dubbo.config
原因是因为我的service层,的web.xml文件中注入spring容器的地方,被我注释掉了