Apress / practical-microservices-architectural-patterns

Source Code for 'Practical Microservices Architectural Patterns' by Binildas Christudas
Other
90 stars 109 forks source link

Repository Error (ch13 quote processor) #1

Closed shreekrishna905 closed 4 years ago

shreekrishna905 commented 4 years ago

Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brokerServiceRequired_TX' defined in class path resource [spring-sender-mysql.xml]: Cannot resolve reference to bean 'brokerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brokerTarget' defined in class path resource [spring-sender-mysql.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auctionServiceRequired_TX' defined in class path resource [spring-sender-mysql.xml]: Cannot resolve reference to bean 'auctionTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auctionTarget': Unsatisfied dependency expressed through field 'quoteRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quoteRepository': Cannot resolve reference to bean 'jpaMappingContext' while setting bean property 'mappingContext'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'jpaMappingContext': FactoryBean which is currently in creation returned null from getObject