webapi 报Failed to subscribe consumer错误

mac2025-03-24  15

api报错:

019-11-01 10:18:51,258 [ERROR] ActionDispatchFilter(171) - ActionDispatchFilter send rpc error

java.lang.IllegalStateException: Failed to subscribe consumer://xxxx/com.alibaba.dubbo.rpc.service.GenericService?

 

原因:

dubbo的register的地址没有配置正确

 

修改配置

如:

dubbo.registry.address=xxxxxx:9090

或者

dubbo.xml

<dubbo:registry address="${dubbo.registry.address:xxxx:9090}"/>

最新回复(0)