SAP Knowledge Base Article - Preview

3259067 - Property 'modelService' is required for bean 'defaultInboundServicesEnumAttributePopulator'

Symptom

When trying to deploy the build you can see in the logs:

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInboundServicesItemModelAttributePopulator' defined in class path resource [odata2services-persistence-spring.xml]: Cannot resolve reference to bean 'oDataModelEntityService' while setting bean property 'contextReferencedItemModelService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultModelEntityService' defined in class path resource [odata2services-persistence-spring.xml]: Cannot resolve reference to bean 'inboundServicesItemModelPopulator' while setting bean property 'itemModelPopulator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInboundServicesItemModelPopulator' defined in class path resource [inboundservices-spring.xml]: Cannot resolve reference to bean 'attributePopulators' while setting bean property 'attributePopulators'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultAttributePopulators': Cannot resolve reference to bean 'inboundServicesEnumAttributePopulator' while setting bean property 'sourceList' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInboundServicesEnumAttributePopulator' defined in class path resource [inboundservices-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Property 'modelService' is required for bean 'defaultInboundServicesEnumAttributePopulator'


Read more...

Environment

SAP Commerce Cloud 1905.46

SAP Commerce Cloud 2005.30

SAP Commerce Cloud 2011.25

SAP Commerce Cloud 2105.15

SAP Commerce Cloud 2205.4

Product

SAP Commerce Cloud all versions

Keywords

KBA , CEC-COM-ODS , O-Data Services, Integration to SCPI , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.