Hey Marta, Looking at the logs, there is a Dependency Injection error somewhere in your code base. Make sure you mark all beans with @Component or the right stereotype and Autowire the right constructors or properties. Make sure you have imported the libraries or services containing the feign clients.
if you shared your repo, I could probably give you more pointers but now the error log is insufficient for me to help solve the problem. Thanks. On Tue, Jan 15, 2019 at 2:20 PM Marta Jankovics <[email protected]> wrote: > Hi Awasum, > > Attached the error that we are getting each time when we try to deploy a > service with more than one feign-client dependencies. > > The attached error is for > > org.apache.fineract.cn.teller.TellerConfiguration@EnableFeignClients( > clients = { > OrganizationManager.class, > LedgerManager.class, > DepositAccountManager.class, > PortfolioManager.class, > ChequeManager.class } > ) > > reaching more than one feign REST service like > org.apache.fineract.cn.cheque.api.v1.client.ChequeManager from > org.apache.fineract.cn.teller.service.internal.service.helper.ChequeService > and the others from another services. > > The same issue we have with each similar service like fineract-cn-portfolio, > fineract-cn-cheque, fineract-cn-deposit-account-management... > > I've created a new microservice with several feign-client connections and > have the same issue with that. The other modules we did not touch, only we do > not run all the services. For deploy we run the > deploy-server-0.1.0-BUILD-SNAPSHOT.jar. > Do you have any idea how to solve this issue? > > Thank you, > Márti > > > On 2019. 01. 14. 12:43, Awasum Yannick wrote: > > Hello Peter, > > Please paste your logs here containing the error message and share the > piece of code you have modified or trying to modify. Also tell us what you > have done to try to fix the issue. > This will help anyone who wish to help you. > > Thanks. > Awasum > > On Mon, Jan 14, 2019 at 11:15 AM Peter Santa <[email protected]> wrote: > >> Hello Everyone! >> >> We are working on integrating Fineract CN with Mojaloop. >> >> Has someone faced the problem with feign client, that when more than 1 >> client is referred by a microservice, then an exception is thrown during >> provisioning (when running ServiceRunner), by hystrix? >> Is there any best practice to solve this? >> >> Thank you. >> >> Péter Sánta >> DPC Consulting Ltd. > >
