You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/07/29 01:14:56 UTC

[GitHub] [dubbo] startjava commented on issue #8364: 启动tomcat出现此异常:Default config not found for ApplicationConfig

startjava commented on issue #8364:
URL: https://github.com/apache/dubbo/issues/8364#issuecomment-888724798


   # Spring boot application
   dubbo.application.name=Provider
   spring.application.name=dubbo-registry-nacos-provider-sample
   # Base packages to scan Dubbo Component: @org.apache.dubbo.config.annotation.Service
   dubbo.scan.base-packages=com.ghy.www.remote
   # Dubbo Application
   ## The default value of dubbo.application.name is ${spring.application.name}
   ## dubbo.application.name=${spring.application.name}
   nacos.server-address=127.0.0.1
   nacos.port=8848
   nacos.username=nacos
   nacos.password=nacos
   # Dubbo Protocol
   dubbo.protocol.name=dubbo
   ## Random port
   dubbo.protocol.port=-1
   ## Dubbo Registry
   dubbo.registry.address=nacos://${nacos.server-address}:${nacos.port}/?username=${nacos.username}&password=${nacos.password}
   ## DemoService version
   demo.service.version=1.0.0
   
   
   配置文件如上,这是官方DEMO中的。


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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