Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues running examples in Eclipse : 2EventStoreSubscriptionManagement was in project accounts-command-side-service #20

Open
dimboyNew opened this issue Jul 19, 2016 · 4 comments

Comments

@dimboyNew
Copy link

Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [net.chrisrichardson.eventstore.EventStoreSubscriptionManagement] is defined: expected single matching bean but found 2: eventStore,jdbcEventStore
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
... 27 more

@cer
Copy link
Owner

cer commented Jul 20, 2016

Please can you provide more information.
What exactly are you running? And, how?

@dimboyNew
Copy link
Author

Project: /event-sourcing-examples/accounts-command-side-service
IDE: eclipse
Operation: just run as an java application, with env arguments:
-- Project and main class

[image: 内嵌图片 1]

-- arguments
[image: 内嵌图片 2]

2016-07-20 11:14 GMT+08:00 Chris Richardson [email protected]:

Please can you provide more information.
What exactly are you running? And, how?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#20 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIEFtDizOYjWy1ddPO5nXIRuDE_500ERks5qXZKAgaJpZM4JPbXS
.

@dimboyNew
Copy link
Author

hi ,
is it sufficient with these pictures and comments?

hope your reply

dim

2016-07-20 12:49 GMT+08:00 New Wang [email protected]:

Project: /event-sourcing-examples/accounts-command-side-service
IDE: eclipse
Operation: just run as an java application, with env arguments:
-- Project and main class

[image: 内嵌图片 1]

-- arguments
[image: 内嵌图片 2]

2016-07-20 11:14 GMT+08:00 Chris Richardson [email protected]:

Please can you provide more information.
What exactly are you running? And, how?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#20 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIEFtDizOYjWy1ddPO5nXIRuDE_500ERks5qXZKAgaJpZM4JPbXS
.

@cer
Copy link
Owner

cer commented Jul 31, 2016

Sorry for the delayed response.
Eclipse has an issue with classpaths.
If Module X depends on Module Y, which has testCompile dependency on artifact Z then Z is exported from Y and visible to X.
This results in a conflict.

A new version of the Eventuate Client (+ minor change to example code) in the near future should address this problem.

In the meantime, please run from the command line

@cer cer changed the title 2EventStoreSubscriptionManagement was in project accounts-command-side-service Issues running examples in Eclipse : 2EventStoreSubscriptionManagement was in project accounts-command-side-service Jul 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants