Интеграционный тест Sarted после неудачного обновления Spring boot 2.2.0 с помощью Swagger последней версии 2.9.2 и HATEOS - PullRequest
0 голосов
/ 03 ноября 2019

Интеграционный тест Sarted после неудачного обновления Spring boot 2.2.0 с Swagger последней версии 2.9.2 и HATEOS

java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 'linkDiscoverers' 
defined in class path resource [org/springframework/hateoas/config/HateoasConfiguration.class]: 
Unsatisfied dependency expressed through method 'linkDiscoverers' parameter 0; 
nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException:
No qualifying bean of type 'org.springframework.plugin.core.PluginRegistry<org.springframework.hateoas.client.LinkDiscoverer,
org.springframework.http.MediaType>' available: expected single matching bean but 
found 3: relProviderPluginRegistry,linkDiscovererRegistry,entityLinksPluginRegistry
Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: 
No qualifying bean of type 'org.springframework.plugin.core.PluginRegistry<org.springframework.hateoas.client.LinkDiscoverer, 
org.springframework.http.MediaType>' available: expected single matching bean but found 3: 
relProviderPluginRegistry,linkDiscovererRegistry,entityLinksPluginRegistry
...