Can't get Controller to be injected with a service

Hi,
i have the following service interface at: Crm\modules\global\src\com\platform\crm\service\RegistrationService.java

public interface RegistrationService {
    String register(RegistrationRequest registrationRequest);
}

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

@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\RegistrationController.java

@RestController
@RequestMapping("/api")
public class RegistrationController {

    @Inject
    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 https://bitbucket.org/avifatal/cuba-crm/src/master/

Thanks

Solved. Problem with the xml config