HI Edison,
I used same configuration like yours (CommandRepositoryConfiguration ). My test project is failing with
the below dependency issues, Can you please help on what i am doing wrong here ?
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '__axon-annotation-command-handler-bean-post-processor': Cannot resolve reference to bean '__axon-parameter-resolver-factory' while setting bean property 'parameterResolverFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '__axon-parameter-resolver-factory': Invocation of init method failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'CommandRepositoryConfiguration': Unsatisfied dependency expressed through field 'eventStore'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'eventBus' defined in class path resource [org/axonframework/boot/autoconfig/AxonAutoConfiguration.class]: Unsatisfied dependency expressed through method 'eventStore' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventStorageEngine': Invocation of init method failed; nested exception is com.mongodb.MongoTimeoutException:
HI Edison,
I used same configuration like yours (CommandRepositoryConfiguration ). My test project is failing with
the below dependency issues, Can you please help on what i am doing wrong here ?
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '__axon-annotation-command-handler-bean-post-processor': Cannot resolve reference to bean '__axon-parameter-resolver-factory' while setting bean property 'parameterResolverFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '__axon-parameter-resolver-factory': Invocation of init method failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'CommandRepositoryConfiguration': Unsatisfied dependency expressed through field 'eventStore'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'eventBus' defined in class path resource [org/axonframework/boot/autoconfig/AxonAutoConfiguration.class]: Unsatisfied dependency expressed through method 'eventStore' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventStorageEngine': Invocation of init method failed; nested exception is com.mongodb.MongoTimeoutException: