SAP Knowledge Base Article - Preview

3703957 - API Pod Fails to Start in SAP Commerce Cloud During Deployment Due to Spring Boot Dependency Conflict

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

SAP Commerce Cloud 2211

Keywords

SAP Commerce Cloud, API pod startup failure, Spring Boot, NoSuchMethodError, Spring dependency conflict, context initialization failed
 
, KBA , CEC-SCC-CLA-DEP , Deployments , 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.