Skip to content

Test ContextLoad is failing #3

Description

@gsainagendraprasad

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions