unsatisfied references on Liferay 7.2 service builder

Jamie Sammons, modified 4 Years ago. New Member Posts: 6 Join Date: 9/26/17 Recent Posts

Hello,
I have added service.xml and build service without any customization.
Deploy  service & API module on Liferay 7.2. 
I am getting this error when I am firing "ds:unsatisfied" command on GOGO shell .

Bundle {id: 2249, name: com.test.it.service, version: 1.0.0}
    Declarative Service {id: 3093, name: com.test.it.service.impl.EmployeeLocalServiceImpl, unsatisfied references: 
        {name: employeePersistence, target: null}
    }
    Declarative Service {id: 3094, name: com.test.it.service.persistence.impl.EmployeePersistenceImpl, unsatisfied references: 
        {name: Configuration, target: (origin.bundle.symbolic.name=com.test.it.service)}
    }

thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
Just guessing here, maybe this affects you:
https://liferay.dev/blogs/-/blogs/important-7-2-service-builder-changes
Could you try with dependency-injector="spring" if it makes a difference?
Mahirali Chaudhari, modified 5 Years ago. New Member Posts: 6 Join Date: 9/26/17 Recent Posts
Actually , In our project we have decided that to use "ds" instead of  "spring".
Koffi AGHOSTO, modified 4 Years ago. Junior Member Posts: 67 Join Date: 5/27/14 Recent Posts

Hello Mahirali,

I would like to ask you please, how are you do to resolve your problem ?

Because, I have the same problem with the same version of Liferay (7.2) and

after reading a lot of topics on this problem, I don't understand very well how to do to

resolve it.

 

Thank you in advanced,

Best regards,

Koffi

Jamie Sammons, modified 2 Years ago. New Member Post: 1 Join Date: 3/14/23 Recent Posts

hello, any solution to this issue?

 

Seeing same issue now