Tag: resttemplate

JHipster微服务的服务模板无法从UAA服务器检索JWT token_key

我已经在我的本地机器上使用docker-compose部署了我的jhipster-registry , UAA服务器和GATEWAY服务器。 现在我试图用mvnw或者mvn spring-boot部署我的服务:运行 ,(没有docker来部署它)因为我更容易使用我的IDE进行debugging。 然而,一旦我尝试开始我的服务,我得到这个输出: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfiguration': Unsatisfied dependency expressed through field 'tokenStore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore' defined in class path resource [id/co/fifgroup/dpa/config/MicroserviceSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.provider.token.TokenStore]: Factory method 'tokenStore' threw exception; […]