Symptom
During deployment of SAP Commerce Cloud, the API pod fails to start. The following error is observed in the application logs during startup:
| ERROR org.springframework.web.context.ContextLoader - Context initialization failed java.lang.NoSuchMethodError: 'boolean org.springframework.beans.factory.support.AbstractBeanDefinition.isDefaultCandidate()' |
The stack trace shows the error occurs during Spring context initialization and references Spring Boot auto-configuration classes, for example:
| org.springframework.boot.autoconfigure.condition.OnBeanCondition spring-boot-autoconfigure-3.x.x.jar |
As a result, the API pod does not become ready and related web applications or services fail to initialize.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Read more...
Environment
SAP Commerce Cloud
Product
Keywords
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.
SAP Knowledge Base Article - Preview