-
Notifications
You must be signed in to change notification settings - Fork 128
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
Comments
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}" |
再次启动又没问题了。是不是因为其他依赖服务没启动。 |
${Snowflake.workerId} 是配置文件里的一个参数用于生成分布式ID使用 |
多处提示:
nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'Snowflake.workerId' in value "${Snowflake.workerId};
The text was updated successfully, but these errors were encountered: