Error creating bean with name ‘eurekaAutoServiceRegistration’
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!)
- 错误原因:
- 同一个服务重复启了;
- 或者是端口被其他应用占用了。
- 解决办法:
释放被占用的端口即可
欢迎关注微信公众号:【Java学习之道】-记录Java学习路上的点点滴滴;也欢迎来访我的博客:https://www.mmzsblog.cn