Hi Ben,

I guess that you put the bean in the wrong package, it seems that spring is not finding the entity manager bean.

How have you added the rest endpoint? Could you please list steps, classes and packages?

Best regards,
Andrea

Il 23/10/18 15:26, Ben.H ha scritto:
I'm trying to create a rest endpoint in java.  I can hit the endpoint, which
has an autowired UserDAO on it, no exception is thrown when the UserDAO is
autowired but when I go to do a findByUsername I get an
IllegalStateException stating; Could not find EntityManager for domain
Master.

Should I be using the UserDAO or should I be using some other component?
And why won't it autowire correctly?

--
Sent from: http://syncope-user.1051894.n5.nabble.com/

--
Dott. Andrea Patricelli
Tel. +39 3204524292

Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member

Reply via email to