Hi everyone,

I am trying to build the message-gateway (
https://github.com/openMF/message-gateway). However, on running *java -jar
message-gateway-0.0.1.jar*, I am receiving the following error:

*"Error creating bean with name tenantService. Requested bean is currently
in creation. Is there an unresolved circular reference?. "*

There seems to be a circular dependency between TenantsService and
SecurityService. I have tried to use the @Lazy command as well as to use
setter/field insertion, as detailed here
http://www.baeldung.com/circular-dependencies-in-spring.  However, it is
still giving the same error regarding circular dependency. Any one who has
been able to solve this?

Thanks.
<https://github.com/openMF/message-gateway#to-create-deployable-war>

-- 
Kind Regards
Usman Khaliq
Programmer and R&D Lead
iDT Labs
5 Foday Drive,Regent Road,Hill Station
Freetown,Sierra Leone
Tel: +92334 3777 059/ + 232 77 772 772
Skype: usman.khaliq
Website:www.idtlabs.sl



<https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io/install?source=signature&lang=en&[email protected]&idSignature=22>

Reply via email to