集成测试严重失败,使用Swagger最新版本2.9.2和HATEOS进行Spring Boot 2.2.0升级后>
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
Integration Test Sarted无法在Swagger最新版本2.9.2和HATEOS的Spring Boot 2.2.0升级后失败升级:java.lang.IllegalStateException:无法加载ApplicationContext,原因:org ....