dubbo项目启动失败,我看了注册中心没有提供者,
Exception in thread "main" org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'phonelocationService': Unsatisfied dependency expressed through field 'locService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.cargocn.cloud3.common.service.ILocService. No provider available for the service com.cargocn.cloud3.common.service.ILocService from the url zookeeper://172.16.10.40:21813/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=trans_provider&check=false&disabled=true&dubbo=2.5.3&interface=com.cargocn.cloud3.common.service.ILocService&logger=slf4j&methods=vQueryRTCNo,vQueryLicense,login,checkRTCNo,checkTruckExist,vLastLocationVinV3,vHisTrackVin24,vHisTrack24,vLastLocationMultiV4,vLastLocationV3,checkAreaByVclNo,checkOwnerByVclNo,checkVehicleExist&pid=11540&side=consumer&timeout=60000×tamp=1540519331822 to the consumer 172.16.10.143 use dubbo version 2.5.3
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:592)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:370)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:754)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
at com.cargocn.cloud3.trans.Provider.main(Provider.java:14)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.cargocn.cloud3.common.service.ILocService. No provider available for the service com.cargocn.cloud3.common.service.ILocService from the url zookeeper://172.16.10.40:21813/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=trans_provider&check=false&disabled=true&dubbo=2.5.3&interface=com.cargocn.cloud3.common.service.ILocService&logger=slf4j&methods=vQueryRTCNo,vQueryLicense,login,checkRTCNo,checkTruckExist,vLastLocationVinV3,vHisTrackVin24,vHisTrack24,vLastLocationMultiV4,vLastLocationV3,checkAreaByVclNo,checkOwnerByVclNo,checkVehicleExist&pid=11540&side=consumer&timeout=60000×tamp=1540519331822 to the consumer 172.16.10.143 use dubbo version 2.5.3
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1606)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1289)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1258)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1094)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1059)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:589)
... 15 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.cargocn.cloud3.common.service.ILocService. No provider available for the service com.cargocn.cloud3.common.service.ILocService from the url zookeeper://172.16.10.40:21813/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=trans_provider&check=false&disabled=true&dubbo=2.5.3&interface=com.cargocn.cloud3.common.service.ILocService&logger=slf4j&methods=vQueryRTCNo,vQueryLicense,login,checkRTCNo,checkTruckExist,vLastLocationVinV3,vHisTrackVin24,vHisTrack24,vLastLocationMultiV4,vLastLocationV3,checkAreaByVclNo,checkOwnerByVclNo,checkVehicleExist&pid=11540&side=consumer&timeout=60000×tamp=1540519331822 to the consumer 172.16.10.143 use dubbo version 2.5.3
at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:420)
at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:300)
at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:138)
at com.alibaba.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:65)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
... 25 more