spring boot-展開時報org.springframe ebook.beans.factory.BenCreationNotAllowedException異常


今日本機のテストの時、ずっとこの異常を報告しています.
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!)
異常再现:
1、当地でサービスを開始する.
2、ポート番号を変えて、もう一つのサービスを開始します.
二つ目のサービスを開始すると、その異常を報告します.
調査を通して、次のような依存関係が加わっていることが分かりました.

			org.springframework.boot
			spring-boot-devtools
			true
		
この依存パケットの主な役割はテストの時に、構成やコードを修正することによって自動的に熱配置が実現されますが、複数のインスタンスのテストの時には、上記の異常を報告します.使用は慎重にしてください.