duboox报错:Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException

异常信息:

Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findPage in the service com.pinyougou.sellergoods.service.BrandService. Tried 1 times of the providers [192.168.204.1:20881] (1/1) from the registry 192.168.3.142:2181 on the consumer 192.168.204.1 using the dubbo version 2.8.4. Last error is: Invoke remote method timeout. method: findPage, provider: dubbo://192.168.204.1:20881/com.pinyougou.sellergoods.service.BrandService?anyhost=true&application=pinyougou-manager-web&check=false&default.delay=-1&default.retries=0&default.timeout=6000&delay=-1&dubbo=2.8.4&generic=false&interface=com.pinyougou.sellergoods.service.BrandService&methods=update,findOne,findAll,delete,selectOptionList,findPage,add&pid=4028&revision=0.0.5-SNAPSHOT&side=consumer&timestamp=1533515844573, cause: Waiting server-side response timeout by scan timer. start time: 2018-08-06 08:37:28.866, end time: 2018-08-06 08:37:34.888, client elapsed: 146 ms, server elapsed: 5874 ms, timeout: 6000 ms, request: Request [id=0, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=findPage, parameterTypes=[class com.pinyougou.pojo.TbBrand, int, int], arguments=[com.pinyougou.pojo.TbBrand@263015db, 1, 10], attachments={path=com.pinyougou.sellergoods.service.BrandService, interface=com.pinyougou.sellergoods.service.BrandService, timeout=6000, version=0.0.0}]], channel: /192.168.204.1:1953 -> /192.168.204.1:20881

 

好好好好好好高大上的异常....

一开始认为dubbox配置有问题,然后还尝试了很多什么调整超时时间啊什么的操作,但都是无用功。

 

后来觉得控制台一直打印这个,有点不正常:

 

我开始觉得是数据库连接的问题,但是查看properties资源文件后发现也没问题,就这样纠结了半天,排除了任何能出问题的地方

最终发现...嗯..改完配置文件后没有clean项目!数据源还是读取原来错误的密码,反正也奇怪控制台没有直接说密码不正确吧。

解决完这个bug可真是领会到了maven项目一定要多clean,多install !!!!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

善良的大铁牛

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值