cancel
Showing results for 
Search instead for 
Did you mean: 

Error creating bean with name 'cartsController'

d_j_boyd
Participant
0 Kudos

Version 2011. Followed the instructions found here: Customizing B2B Accelerator

When I start the server I see the following error:

ERROR [localhost-startStop-10] [DispatcherServlet] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cartsController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'commerceStockFacade' is expected to be of type 'de.hybris.platform.commercewebservices.core.stock.CommerceStockFacade' but was actually of type 'de.hybris.platform.ycommercewebservices.stock.impl.DefaultCommerceStockFacade'


In my localextension.xml I have both commercewebservices and ycommercewebservices.

So should I only have one of these?

romitchhabra
Participant
0 Kudos

Yes I think one should be removed, you can remove and try.

d_j_boyd
Participant
0 Kudos

I modified the steps provided by the link. I removed ycommercewebservices extension and everything works

Accepted Solutions (0)

Answers (0)