dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-dubbo-samples] DeppWang commented on issue #72: wrong configcenter settings in *.properties
Date Wed, 15 May 2019 08:34:22 GMT
DeppWang commented on issue #72: wrong configcenter settings in *.properties
URL: https://github.com/apache/incubator-dubbo-samples/issues/72#issuecomment-492560734
 
 
   I pulled the latest code, but when I start `dubbo-samples-configcenter` project, still
exist this error:
   ```
   Exception in thread "main" java.lang.IllegalStateException: No registry config found or
it's not a valid config! The registry config is: <dubbo:registry valid="false" zookeeperProtocol="false"
prefix="dubbo.registry" />
   	at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:162)
   	at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:270)
   	at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:328)
   	at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:318)
   	at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:112)
   	at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:58)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
   	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
   	at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
   	at org.apache.dubbo.samples.configcenter.annotation.AnnotationProvider.main(AnnotationProvider.java:37)
   ```
   #74 was fix the wrong configcenter settings in *.properties. Do I still need change some
local code or configuration before I first start project?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message