title: Why HATEOAS starts creating issue for spring-boot version >= 2.2.x during startup with Swagger 2.x?
body: <p>I moved my project from spring-boot 2.1.9 to 2.2.0.</p>
  <p>While starting the project, I am facing the below <code>error</code> messages.</p>
  <pre><code>Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.springframework.plugin.core.PluginRegistry&lt;org.springframework.hateoas.client.LinkDiscoverer, org.springframework.http.MediaType&gt;' available: expected single matching bean but found 17: modelBuilderPluginRegistry,modelPropertyBuilderPluginRegistry,typeNameProviderPluginRegistry,syntheticModelProviderPluginRegistry,documentationPluginRegistry,apiListingBuilderPluginRegistry,operationBuilderPluginRegistry,parameterBuilderPluginRegistry,expandedParameterBuilderPluginRegistry,resourceGroupingStrategyRegistry,operationModelsProviderPluginRegistry,defaultsProviderPluginRegistry,pathDecoratorRegistry,apiListingScannerPluginRegistry,relProviderPluginRegistry,linkDiscovererRegistry,entityLinksPluginRegistry
  
  
  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&lt;org.springframework.hateoas.client.LinkDiscoverer, org.springframework.http.MediaType&gt;' available: expected single matching bean but found 17: modelBuilderPluginRegistry,modelPropertyBuilderPluginRegistry,typeNameProviderPluginRegistry,syntheticModelProviderPluginRegistry,documentationPluginRegistry,apiListingBuilderPluginRegistry,operationBuilderPluginRegistry,parameterBuilderPluginRegistry,expandedParameterBuilderPluginRegistry,resourceGroupingStrategyRegistry,operationModelsProviderPluginRegistry,defaultsProviderPluginRegistry,pathDecoratorRegistry,apiListingScannerPluginRegistry,relProviderPluginRegistry,linkDiscovererRegistry,entityLinksPluginRegistry
  
  
  ***************************
  APPLICATION FAILED TO START
  ***************************
  
  Description:
  
  
  Parameter 0 of method linkDiscoverers in org.springframework.hateoas.config.HateoasConfiguration 
  required a single bean, but 17 were found:
  - modelBuilderPluginRegistry: defined in null
  - modelPropertyBuilderPluginRegistry: defined in null
  - typeNameProviderPluginRegistry: defined in null
  - syntheticModelProviderPluginRegistry: defined in null
  - documentationPluginRegistry: defined in null
  - apiListingBuilderPluginRegistry: defined in null
  - operationBuilderPluginRegistry: defined in null
  - parameterBuilderPluginRegistry: defined in null
  - expandedParameterBuilderPluginRegistry: defined in null
  - resourceGroupingStrategyRegistry: defined in null
  - operationModelsProviderPluginRegistry: defined in null
  - defaultsProviderPluginRegistry: defined in null
  - pathDecoratorRegistry: defined in null
  - apiListingScannerPluginRegistry: defined in null
  - relProviderPluginRegistry: defined by method 'relProviderPluginRegistry' in class path resource [org/springframework/hateoas/config/HateoasConfiguration.class]
  - linkDiscovererRegistry: defined in null
  - entityLinksPluginRegistry: defined by method 'entityLinksPluginRegistry' in class path resource [org/springframework/hateoas/config/WebMvcEntityLinksConfiguration.class]
  </code></pre>
  <p>What could have caused this issue ?</p>
  <p>Note: I am not using HATEOAS in my <code>pom.xml</code> file.</p>
  <p><strong>pom.xml</strong></p>
  <pre><code>&lt;properties&gt;
      &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;swagger-springfox.version&gt;2.9.2&lt;/swagger-springfox.version&gt;
      &lt;sonar.jacoco.execPath&gt;${project.basedir}/target/jacoco.exec&lt;/sonar.jacoco.execPath&gt;
      &lt;jasypt-spring-boot-starter&gt;2.1.1&lt;/jasypt-spring-boot-starter&gt;
      &lt;logbook-spring-boot-starter&gt;1.13.0&lt;/logbook-spring-boot-starter&gt;
      &lt;assertj-swagger&gt;0.8.1&lt;/assertj-swagger&gt;
      &lt;jacoco-version&gt;0.8.4&lt;/jacoco-version&gt;
  &lt;/properties&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-actuator&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-data-rest&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-devtools&lt;/artifactId&gt;
          &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-configuration-processor&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
          &lt;artifactId&gt;lombok&lt;/artifactId&gt;
          &lt;optional&gt;true&lt;/optional&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-swagger2&lt;/artifactId&gt;
          &lt;version&gt;${swagger-springfox.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-swagger-ui&lt;/artifactId&gt;
          &lt;version&gt;${swagger-springfox.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-spring-web&lt;/artifactId&gt;
          &lt;version&gt;${swagger-springfox.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-core&lt;/artifactId&gt;
          &lt;version&gt;${swagger-springfox.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-data-rest&lt;/artifactId&gt;
          &lt;version&gt;${swagger-springfox.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-bean-validators&lt;/artifactId&gt;
          &lt;version&gt;${swagger-springfox.version}&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>