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

when Feign Service is closing,throwing a exception:BeanCreationNotAllowedException #18

Closed
jiyong101 opened this issue Apr 15, 2018 · 1 comment

Comments

@jiyong101
Copy link

when I use STS develop a Feign-Service,if I do what it is a run-as Spring-boot-App。the console will show a error this it is a exception:
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eurekaAutoServiceRegistration': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
but I do what it is a run-as Java Application,the error is nothing.
I don't understand what the reason is.,please help me

@ryanjbaxter
Copy link
Contributor

Please learn how to format code on GitHub.

Not sure either, sounds like it might be something corrupt in your STS environment, especially is the same app runs fine elsewhere. If you can provide a project to reproduce the problem I would be happy to try it on my machine as well.

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