HTTP Status 500 - Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findAll in the service com.offcn.sellergoods.service.BrandService. Tried 3 times of the providers [10.10.115.162:20881] (1/1) from the registry 192.168.188.129:2181 on the consumer 10.10.115.162 using the dubbo version 2.6.4. Last error is: Invoke remote method timeout. method: findAll, provider: dubbo://10.10.115.162:20881/com.offcn.sellergoods.service.BrandService?anyhost=true&application=dongyimai_sellergoods_web&check=false&dubbo=2.0.2&generic=false&interface=com.offcn.sellergoods.service.BrandService&methods=findAll&pid=6244®ister.ip=10.10.115.162&remote.timestamp=1605010645766&revision=1.0-SNAPSHOT&side=consumer×tamp=1605010685216, cause: Waiting server-side response timeout
在访问时遇到了这个问题,看到原因是timeout,还以为超时了,就一直将timeout设大,可是毫无作用;后来看到有人说是数据库问题;可是我的数据库连接语句修改回来后仍然报错,后来发现将com.dao包中的数据库相关连接配置修改后,一定一定一定要重新Install一下!!!
然后问题就解决了
参考原文链接:https://blog.youkuaiyun.com/qq_41028544/article/details/109606557