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及其方法不能用事务注解;


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM