Error creating bean with name 'eurekaAutoServiceRegistration'

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!)

  • 错误原因:
    • 同一个服务重复启了;
    • 或者是端口被其他应用占用了。
  • 解决办法:
    释放被占用的端口即可

你可能感兴趣的:(Bug)