duboo服务调用不到的原因(dubbo启动消费者报错:No provider available for the service)

com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method queryTemplate in the service com.x.api.service.query.evaluate.TemplateMessageService. No provider available for the service com.x.api.service.query.evaluate.TemplateMessageService from registry 192.168.11.32:2181 on the consumer 192.168.11.32 using the dubbo version 2.5.3. Please check if the providers have been started and registered.

1、实体类要序列化;
2、配置问题;
3、暴露的service及其方法不能用事务注解;

原文地址:https://www.cnblogs.com/YuyuanNo1/p/8554578.html