BeanCreationNotAllowedException

项目启动的时候报错:org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration': 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!)
 

继续往上翻找日志,发现如下提示:
Description:
The Tomcat connector configured to listen on port 9999 failed to start. The port may already be in use or the connector
may be misconfigured.

所以解决如下图:

猜你喜欢

转载自blog.csdn.net/qq_39839828/article/details/105521735
今日推荐