2025 Jan 14 4:40 PM - edited 2025 Jan 14 4:44 PM
Hi SAP community,
currently we are upgrading to the version 2211.32 of SAP Commerce Cloud and during startup of the application we are facing following issue:
ERROR [Catalina-utility-12] [HybrisContextFactory] Error initializing global application context!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSAPOrderGenericPaymentInfoPopulator' defined in class path resource [commercefacades-spring.xml]:
Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Properties 'addressConverter', 'commerceEntryGroupUtils', 'commonI18NService', 'creditCardPaymentInfoConverter', 'deliveryModeConverter', 'entryGroupConverter', 'entryGroupService', 'modelService', 'orderCommentConverter', 'orderEntryConverter', 'priceDataFactory', 'principalConverter', 'promotionResultConverter', 'promotionsService', 'typeService', 'virtualEntryGroupStrategy' and 'zoneDeliveryModeConverter' are required for bean 'defaultSAPOrderGenericPaymentInfoPopulator'
Because of the error the server cannot start.
The message relates to following bean definition in commercefacades-spring.xml
<alias name="defaultSAPOrderGenericPaymentInfoPopulator" alias="sapOrderGenericPaymentInfoPopulator"/>
<bean id="defaultSAPOrderGenericPaymentInfoPopulator"
class="de.hybris.platform.commercefacades.order.converters.populator.OrderGenericPaymentInfoPopulator">
<constructor-arg name="genericPaymentInfoConverter" ref="sapGenericPaymentInfoConverter"/>
</bean>
Since there is no parent reference, the required properties are missing - which the error message also says.
I am wondering how this can run anywhere? 😀
Anyone else out there having the same problem?
Thanks and BR!
Eddy
Request clarification before answering.
Yes, this is an issue. It should be fixed in the upcoming releases. Right now you can try to add the missing parent to the bean definition:
parent="baseOrderPopulator"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.