Can't get Controller to be injected with a service

i have the following service interface at: Crm\modules\global\src\com\platform\crm\service\

public interface RegistrationService {
    String register(RegistrationRequest registrationRequest);

I have its implementation at: Crm\modules\core\src\com\platform\crm\service\

public class RegistrationServiceBean implements RegistrationService {
    private final Persistence persistence;

And I’m trying to inject it to a controller here: Crm\modules\web\src\com\platform\crm\controllers\

public class RegistrationController {

    RegistrationService registrationService;

When the system starts, I get the exception:

Error creating bean with name 'registrationController': Unsatisfied dependency expressed through field 'registrationService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.platform.crm.service.RegistrationService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.inject.Inject()}

Here is the soruce


Solved. Problem with the xml config