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®ister.ip=10.17.73.42&release=2.7.8&side=consumer&sticky=false&timeout=30000×tamp=1614245159374 to the consumer 10.17.73.42 use dubbo version 2.7.8
原因:提供者xml里没有添加此Api。新增Api切记 provide 和 consumer 都得添加