Skip to Content
Former Member
Jun 27, 2016 at 08:32 PM

Access a bean defined in b2ccheckoutaddon-web-spring.xml


Hi everyone,

I'm trying to access a bean defined in b2ccheckoutaddon-web-spring.xml but my AddOn can not see it. I already defined the in extensioninfo.xml, and I added the reference in merchandisecheckoutaddon-web-spring.xml - which is the xml for my extension.

The errro I'm getting is

Error creating bean with name 'merchandiseMultiFlowCheckoutGroup' defined in class path resource [merchandisecheckoutaddon/web/spring/merchandisecheckoutaddon-web-spring.xml]: Cannot resolve reference to bean 'multiStepCheckout' while setting bean property 'checkoutStepMap' with key [TypedStringValue: value [multi], target type [null]]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'multiStepCheckout' is defined

Any idea what can happen?