i created uaa server:
? (1/16) *type* of application create? [beta] jhipster uaa server (for microservice oauth2 authentication)
and created microservicio gateway:
? (1/16) *type* of application create? microservice gateway ... ? (6/16) folder path of uaa application?. ../elseruaa
- i created docker containers, in "docker-compose", , creates well.
- i have add configuration on gateway work server uaa?
i following error trace in container gateway:
org.springframework.beans.factory.beancreationexception: error creating bean name 'org.springframework.security.config.annotation.web.configuration.websecurityconfiguration': injection of autowired dependencies failed; nested exception org.springframework.beans.factory.beancreationexception: not autowire method: public void org.springframework.security.config.annotation.web.configuration.websecurityconfiguration.setfilterchainproxysecurityconfigurer(org.springframework.security.config.annotation.objectpostprocessor,java.util.list) throws java.lang.exception; nested exception org.springframework.beans.factory.beanexpressionexception: expression parsing failed; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'org.springframework.security.oauth2.config.annotation.web.configuration.resourceserverconfiguration': injection of autowired dependencies failed; nested exception org.springframework.beans.factory.beancreationexception: not autowire field: private org.springframework.security.oauth2.provider.token.tokenstore org.springframework.security.oauth2.config.annotation.web.configuration.resourceserverconfiguration.tokenstore; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'tokenstore' defined in class path resource [com/abalia/elser/config/microservicesecurityconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [org.springframework.security.oauth2.provider.token.tokenstore]: factory method 'tokenstore' threw exception; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'jwtaccesstokenconverter' defined in class path resource [com/abalia/elser/config/microservicesecurityconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [org.springframework.security.oauth2.provider.token.store.jwtaccesstokenconverter]: factory method 'jwtaccesstokenconverter' threw exception; nested exception java.lang.illegalstateexception: no instances available elseruaa...
thank help.
i created youtube screencast show how create jhipster (3.5.1) microservices uaa. believe problems facing have order of startup of services or old services not regenerated 3.5.0+ code. can see in screencast , sourcecode on github, works is.
Comments
Post a Comment