Code: Select all
<bean id="org.broadleafcommerce.core.catalog.domain.Product" class="com.mycompany.core.catalog.domain.MyProductImpl" scope="prototype"/>
and also added a context:component-scan in the same applicationContext like this..
Code: Select all
<context:component-scan base-package="com.mycompany.core.catalog.domain"/>
I have also added the same in the applicationContext-entity.xml in the core module.
Code: Select all
<context:component-scan base-package="com.mycompany.core.catalog.domain"/>
<bean id="org.broadleafcommerce.core.catalog.domain.Product" class="com.mycompany.core.catalog.domain.MyProductImpl" scope="prototype"/>
The class exists in the src/main of the core module as com.mycompany.core.catalog.domain
Thanks in advance.