cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to instantiate [de.hybris.platform.converters.impl.AbstractPopulatingConverter]

Former Member
0 Kudos
434

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>
View Entire Topic
MartinKriegler
Discoverer

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.