on 2017 Oct 12 9:55 AM
Getting below error while starting hybris
Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [de.hybris.platform.converters.impl.AbstractPopulatingConverter]: Is it an abstract class?; nested exception is java.lang.InstantiationException
Definition of bean is:
<alias name="defaultTrainingCenterConverter" alias="trainingCenterConverter" />
<bean id="defaultTrainingCenterConverter" parent="abstractPopulatingConverter">
<property name="targetClass" value="de.hybris.platform.trainingcenter.data.TrainingCenterData" />
<property name="populators">
<list>
<ref bean="trainingCenterPopulator" />
</list>
</property>
</bean>
Please check if your TrainingCenterData is defined in yourfacadeextension-beans.xml as abstract=true. You have to make sure that your Data Pojo is not abstract. The Example Data POJO in the SAP Commerce template is unfortunately defined as abstract, which leads to problems when you just copy paste the SAP example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.