Skip to Content
Former Member
Nov 01, 2018 at 05:31 AM

EnhancedCookieGenerator class not found while executing B2c_acc_plus recipe using Modulegen


Hi Experts

I followed the steps mentioned in the below trail to install b2c_acc_plus recipe for trainingstorefront using modulegen.

While giving package name in modulegen I chose to give "com.hybris.storefront" Followed the trail as mentioned and reinstalled addons as well on trainingstorefront after removing yacceleratorstorefront extensions.Evrything runs fine till now.

When I start the server again I get the following error in b2cangularaddon-web-spring.xml nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [] for bean with name 'defaultAngularTokenCookieGenerator' defined in class path resource [b2cangularaddon/web/spring/b2cangularaddon-web-spring.xml]; nested exception is java.lang.ClassNotFoundException:

So basically , This class is not available anymore as we don't include yacceleratorstorefront extension. Instead We should have "" file package in this spring file to work.

Is this an OOB issue ? Ideally as per my understanding while reing addons or during the trail itself this file should have been replaced. For now I am using ant customize to replace b2cangularaddon-web-spring.xml file to work for me. Please suggest your solutions.

Thanks in advance.