Throw exception when import camunda-bpm-spring-boot-starter

I have a legacy software, It throw exceptions like below when I import camunda-bpm-spring-boot-starer and start application

Parameter 0 of constructor in cn.bobdeng.mainserver.form.FormFacade required a bean of type 'cn.bobdeng.domains.spc.form.FormService' that could not be found.

Because cn.bobdeng.mainserver.form.FormFacade has no 0 argument constructor, and I use constructor to let spring init this bean.

@Service
public class FormFacade {
    private final FormService formService;
    private final FormRepository formRepository;
    private final FormSpecRepository formSpecRepository;
    private final MissionRepository missionRepository;
    private final FormDataQuery formDataQuery;
    private final JdbcTemplate jdbcTemplate;
    private final EventPublisher eventPublisher;

    public FormFacade(FormService formService, FormRepository formRepository, FormSpecRepository formSpecRepository, MissionRepository missionRepository, FormDataQuery formDataQuery, JdbcTemplate jdbcTemplate, EventPublisher eventPublisher) {
        this.formService = formService;
        this.formRepository = formRepository;
        this.formSpecRepository = formSpecRepository;
        this.missionRepository = missionRepository;
        this.formDataQuery = formDataQuery;
        this.jdbcTemplate = jdbcTemplate;
        this.eventPublisher = eventPublisher;
    }

starter version is. 7.16.0
how to fix this?

I solved the problem. Because I have a bean which name is “formService”, it conflict with camunda’s “formService”, I rename the bean’s name to solve the problem.