alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
30.07k stars 12.81k forks source link

The official website example failed to run #1291

Closed liucyu closed 5 years ago

liucyu commented 5 years ago

步骤

bootstrap.properties:

spring.application.name=nacos-config spring.cloud.nacos.config.server-addr=127.0.0.1:8848

image 日志 2019-05-29 16:44:12.704 INFO 65456 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='NACOS', propertySources=[NacosPropertySource {name='nacos-config.properties'}]}

代码 image

结果 image

nacos-bot commented 5 years ago

Hi @liucyu, we detect non-English characters in the issue. This comment is an auto translation from @nacos-bot to help other users to understand this issue. We encourage you to describe your issue in English which is more friendly to other users.

The official website example failed to run

Step

bootstrap.properties:

spring.application.name=nacos-config spring.cloud.nacos.config.server-addr=127.0.0.1:8848

image Log 2019-05-29 16:44:12.704 INFO 65456 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='NACOS', propertySources=[NacosPropertySource {name='nacos-config.properties'}]}

Code image

result image

nkorange commented 5 years ago

如果是nacos-client没问题,但是spring-cloud-nacos有问题,请到spring cloud alibaba提交issue。

liucyu commented 5 years ago

@nkorange 我的springboot版本是2.1.4.RELEASE springcloud版本是 Greenwich.SR1

nkorange commented 5 years ago

请到spring cloud alibaba提交issue。