title: issue with unsatisfiedDependencyException org.springframework.beans.factory
body: <p>Microsoft Windows [Version 10.0.18362.1016]
  (c) 2019 Microsoft Corporation. All rights reserved.</p>
  <pre><code>             G:\mymobile\app&gt;jhipster info
               INFO! Using JHipster version installed locally in current project's node_modules
               INFO! Executing jhipster:info
               INFO! Options: from-cli: true
               Welcome to the JHipster Information Sub-Generator
  
                ##### **JHipster Version(s)**
  </code></pre>
  <pre><code>             oauth-2@0.0.1-SNAPSHOT G:\mymobile\app
               `-- generator-jhipster@6.4.1
  
  </code></pre>
  <pre><code>         ##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder**
  
  
         &lt;details&gt;
         &lt;summary&gt;.yo-rc.json file&lt;/summary&gt;
         &lt;pre&gt;
          {
           &quot;generator-jhipster&quot;: {
              &quot;databaseType&quot;: &quot;sql&quot;,
              &quot;devDatabaseType&quot;: &quot;h2Disk&quot;,
              &quot;enableHibernateCache&quot;: true,
              &quot;enableSwaggerCodegen&quot;: false,
              &quot;enableTranslation&quot;: true,
              &quot;jhiPrefix&quot;: &quot;jhi&quot;,
              &quot;languages&quot;: [&quot;en&quot;, &quot;fr&quot;],
              &quot;messageBroker&quot;: false,
              &quot;nativeLanguage&quot;: &quot;en&quot;,
              &quot;packageName&quot;: &quot;com.mycompany.myapp&quot;,
              &quot;packageFolder&quot;: &quot;com/mycompany/myapp&quot;,
              &quot;prodDatabaseType&quot;: &quot;mysql&quot;,
              &quot;searchEngine&quot;: false,
              &quot;serviceDiscoveryType&quot;: false,
              &quot;skipClient&quot;: false,
             &quot;skipServer&quot;: false,
              &quot;testFrameworks&quot;: [&quot;protractor&quot;],
              &quot;websocket&quot;: false,
              &quot;baseName&quot;: &quot;oauth2&quot;,
             &quot;authenticationType&quot;: &quot;oauth2&quot;,
             &quot;buildTool&quot;: &quot;gradle&quot;,
             &quot;jhipsterVersion&quot;: &quot;6.4.1&quot;,
              &quot;skipUserManagement&quot;: true,
             &quot;clientPackageManager&quot;: &quot;npm&quot;,
             &quot;applicationType&quot;: &quot;monolith&quot;,
             &quot;cacheProvider&quot;: &quot;ehcache&quot;,
             &quot;clientFramework&quot;: &quot;angularX&quot;,
             &quot;clientTheme&quot;: &quot;none&quot;,
             &quot;clientThemeVariant&quot;: &quot;&quot;,
             &quot;serverPort&quot;: &quot;8080&quot;,
             &quot;useSass&quot;: true,
             &quot;embeddableLaunchScript&quot;: false,
              &quot;entitySuffix&quot;: &quot;&quot;,
              &quot;dtoSuffix&quot;: &quot;DTO&quot;,
              &quot;otherModules&quot;: [],
              &quot;blueprints&quot;: []
                                  },
                &quot;entities&quot;: []
                                   }
  
                &lt;/pre&gt;
             &lt;/details&gt;
  
  
             ##### **JDL for the Entity configuration(s) `entityName.json` files generated in the        `.jhipster` directory**
  
             &lt;details&gt;
            &lt;summary&gt;JDL entity definitions&lt;/summary&gt;
  
             &lt;pre&gt;
             entity Album {
              title String required,
              description TextBlob,
              created Instant
             }
              entity Photo {
                   title String required,
                   description TextBlob,
                   image ImageBlob required,
                    taken Instant
                     }
              entity Tag {
                     name String required minlength(2)
                          }
               relationship ManyToOne {
                Album{user(login)} to User,
                Photo{album(title)} to Album
                  }
                relationship ManyToMany {
                Photo{tag(name)} to Tag{photo}
                  }
  
                 paginate Album with pagination
                 paginate Photo, Tag with infinite-scroll
  
                &lt;/pre&gt;
               &lt;/details&gt;
                
  
               ##### **Environment and Tools**
  
              openjdk version &quot;11.0.8&quot; 2020-07-14
              OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10)
              OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.8+10, mixed mode)
  
              node: v12.18.3
  
               npm: 6.14.6
  
               yeoman: 3.1.1
  
               Docker version 19.03.1, build 74b1e89e8a
  
              docker-compose version 1.24.1, build 4667896b
  
             INFO! Congratulations, JHipster execution is complete!
  
             G:\mymobile\app&gt;docker-compose -f src/main/docker/keycloak.yml up -d
             docker_keycloak_1 is up-to-date
  </code></pre>
  <blockquote>
  <p>---stack trace developed ------
  Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityConfiguration' defined in file [G:\mymobile\app\build\classes\java\main\com\mycompany\myapp\config\SecurityConfiguration.class]: Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.zalando.problem.spring.web.advice.security.SecurityProblemSupport': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/servlet/OAuth2ClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: Unable to resolve the OpenID Configuration with the provided Issuer of &quot;http://localhost:9080/auth/realms/jhipster&quot;</p>
  </blockquote>