Java ContentManagerServiceImpl中构造函数的参数0需要类型为PropertyFacade';那是找不到的

Java ContentManagerServiceImpl中构造函数的参数0需要类型为PropertyFacade';那是找不到的,java,spring,Java,Spring,运行Spring时出现的错误如下: 中的字段contentManagerService com.xxxx.xxxx.negocio.impl.ContentManagerManager需要一个 键入“com.xxxx.xxxxx.cm.IContentManagerService”,该服务无法 找到了 注入点具有以下注释: @org.springframework.beans.factory.annotation.Autowired(必需=true) 行动: 考虑定义类型为的bean 配置中的“

运行Spring时出现的错误如下:

中的字段contentManagerService com.xxxx.xxxx.negocio.impl.ContentManagerManager需要一个 键入“com.xxxx.xxxxx.cm.IContentManagerService”,该服务无法 找到了

注入点具有以下注释:

@org.springframework.beans.factory.annotation.Autowired(必需=true) 行动:

考虑定义类型为的bean 配置中的“com.xxxx.yyy.cm.IContentManagerService”

contentmanagermager.java

@Service
public class ContentManagerManager implements IContentManagerManager {

    private static final Logger LOG = Logger.getLogger(ContentManagerManager.class);
    
    @Autowired
    private IContentManagerService contentManagerService; //¿fail here?

    private final String usuarioCM;
    private final String claveCM;
    private final String tipoDocumentalCM;
    private final String tempFiles;

    @Autowired
    public ContentManagerManager(final PropertyFacade propertyFacade) {
        this.usuarioCM = propertyFacade.property("content.manager.user");
        this.claveCM = propertyFacade.property("content.manager.password");
        this.tipoDocumentalCM = propertyFacade.property("content.manager.tipoDocumental");
        this.tempFiles = propertyFacade.property("tempFiles");
    }
@EnableWebMvc
@Configuration
@EnableAutoConfiguration
@ComponentScan(basePackages = { "com.xxxx.yyyyy.negocio", "com.xxxxx.yyyyy.dominio",
        "com.xxxx.yyyyy.yyyy.rest", "com.xxxxx.yyyyy.persistencia" })
public class AppConfig implements WebMvcConfigurer {

    @Bean
    public PropertyFacade propertyFacade() throws IOException {
        return new PropertyFacade("classpath:application.properties");
    }
AppConfig.java

@Service
public class ContentManagerManager implements IContentManagerManager {

    private static final Logger LOG = Logger.getLogger(ContentManagerManager.class);
    
    @Autowired
    private IContentManagerService contentManagerService; //¿fail here?

    private final String usuarioCM;
    private final String claveCM;
    private final String tipoDocumentalCM;
    private final String tempFiles;

    @Autowired
    public ContentManagerManager(final PropertyFacade propertyFacade) {
        this.usuarioCM = propertyFacade.property("content.manager.user");
        this.claveCM = propertyFacade.property("content.manager.password");
        this.tipoDocumentalCM = propertyFacade.property("content.manager.tipoDocumental");
        this.tempFiles = propertyFacade.property("tempFiles");
    }
@EnableWebMvc
@Configuration
@EnableAutoConfiguration
@ComponentScan(basePackages = { "com.xxxx.yyyyy.negocio", "com.xxxxx.yyyyy.dominio",
        "com.xxxx.yyyyy.yyyy.rest", "com.xxxxx.yyyyy.persistencia" })
public class AppConfig implements WebMvcConfigurer {

    @Bean
    public PropertyFacade propertyFacade() throws IOException {
        return new PropertyFacade("classpath:application.properties");
    }
applicationContext.xml

<!-- Property Configurer -->
<bean id="propertyFacade"
    class="com.konecta.utils.properties.PropertyFacade">
    <constructor-arg
        value="classpath:application.properties"></constructor-arg>
</bean>


<!-- MGA y Content Manager -->
<import resource="appCtxClientesServiciosWeb.xml" />

我怎样才能修好它