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

启动gateaway失败 #4

Closed
pullwindyuan opened this issue Dec 12, 2017 · 3 comments
Closed

启动gateaway失败 #4

pullwindyuan opened this issue Dec 12, 2017 · 3 comments

Comments

@pullwindyuan
Copy link

多处提示:
nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'Snowflake.workerId' in value "${Snowflake.workerId};

@pullwindyuan
Copy link
Author

org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.cloud.netflix.zuul.ZuulProxyAutoConfiguration': Unsatisfied dependency expressed through field 'errorController'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestErrorController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pub_Tools': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'Snowflake.workerId' in value "${Snowflake.workerId}"

@pullwindyuan
Copy link
Author

再次启动又没问题了。是不是因为其他依赖服务没启动。
我对老大的这个项目非常感兴趣,希望能应用到我们现在生产项目中,不知道能不能提供更多的帮助信息,尤其是服务部署和实战指南。我们也能贡献代码。

@7040210
Copy link
Owner

7040210 commented Dec 13, 2017

${Snowflake.workerId} 是配置文件里的一个参数用于生成分布式ID使用

@7040210 7040210 closed this as completed Dec 13, 2017
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