event-sourcing-examples icon indicating copy to clipboard operation
event-sourcing-examples copied to clipboard

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

Open dimboyNew opened this issue 9 years ago • 4 comments

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

dimboyNew avatar Jul 19 '16 06:07 dimboyNew

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

cer avatar Jul 20 '16 03:07 cer

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 https://github.com/cer/event-sourcing-examples/issues/20#issuecomment-233827510, or mute the thread https://github.com/notifications/unsubscribe-auth/AIEFtDizOYjWy1ddPO5nXIRuDE_500ERks5qXZKAgaJpZM4JPbXS .

dimboyNew avatar Jul 20 '16 04:07 dimboyNew

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 https://github.com/cer/event-sourcing-examples/issues/20#issuecomment-233827510, or mute the thread https://github.com/notifications/unsubscribe-auth/AIEFtDizOYjWy1ddPO5nXIRuDE_500ERks5qXZKAgaJpZM4JPbXS .

dimboyNew avatar Jul 22 '16 04:07 dimboyNew

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 avatar Jul 31 '16 23:07 cer