项目启动报错问题:
Invocation of destroy method failed on bean with name 'scopedTarget.eurekaClient': org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eurekaInstanceConfigBean': 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!)

解决方法,在pom文件中增加以下依赖

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

 

相关文章:

  • 2021-08-22
  • 2021-11-10
  • 2021-05-01
  • 2021-05-04
  • 2021-11-12
  • 2021-09-26
  • 2021-09-24
  • 2021-09-07
猜你喜欢
  • 2021-10-13
  • 2022-01-01
  • 2022-01-12
  • 2021-09-14
  • 2021-12-24
  • 2021-10-26
  • 2021-11-18
  • 2021-10-24
相关资源
相似解决方案