记录启动时报:Error creating bean with name 解决

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'samplingApi': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service cn.tisson.zd.portal.api.SamplingApi. No provider available for the service cn.tisson.zd.portal.api.SamplingApi from the url zookeeper://localhost:2181/org.apache.dubbo.registry.RegistryService?application=zd-webapp&dubbo=2.0.2&init=false&interface=cn.tisson.zd.portal.api.SamplingApi&metadata-type=remote&methods=saveSamplingBatch&pid=29416&qos.enable=false&register.ip=10.17.73.42&release=2.7.8&side=consumer&sticky=false&timeout=30000&timestamp=1614245159374 to the consumer 10.17.73.42 use dubbo version 2.7.8

原因:提供者xml里没有添加此Api。新增Api切记 provideconsumer 都得添加

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值