Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.1.1 版本 配置中心获取 报错 #137

Open
ccc7574 opened this issue Nov 2, 2018 · 1 comment
Open

1.1.1 版本 配置中心获取 报错 #137

ccc7574 opened this issue Nov 2, 2018 · 1 comment

Comments

@ccc7574
Copy link

ccc7574 commented Nov 2, 2018

无法获取项目配置信息
image

2018-11-02 13:04:26.837 INFO 48364 --- [nio-3050-exec-1] c.d.s.c.service.impl.BaseOptServiceImpl : call get properties : http://192.168.3.93:3050/scca-config-server/config-client-demo/local/master

2018-11-02 13:04:26.929 WARN 48364 --- [nio-3050-exec-1] .m.m.a.ExceptionHandlerExceptionResolver : Resolved exception caused by Handler execution: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "timestamp" (class org.springframework.cloud.config.environment.Environment), not marked as ignorable (6 known properties: "state", "propertySources", "label", "version", "profiles", "name"])
at [Source: {"timestamp":1541135066902,"status":404,"error":"Not Found","message":"No message available","path":"/scca-config-server/config-client-demo/local/master"}; line: 1, column: 155] (through reference chain: org.springframework.cloud.config.environment.Environment["timestamp"])

@ccc7574 ccc7574 changed the title 1.1.1 版本 配置获取获取 报错 1.1.1 版本 配置中心获取 报错 Nov 2, 2018
@dyc87112
Copy link
Owner

404,应该是配置中心的前缀配置与环境中配置的配置中心前缀不一致吧?或者对应的项目相关的内容不存在,具体你看看报错信息中的url:/scca-config-server/config-client-demo/local/master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants