cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hyb 6.3 - NoClassDefFoundError: de/hybris/platform/ldap/model/LDIFMediaModel

0 Likes
952

Hi all, I'm facing the below mentioned error during server start up in 6.3 version. I'm unable to find this class / jar corresponding to it in the codebase.

SEVERE: Exception sending context initialized event to listener instance of class de.hybris.platform.spring.HybrisContextLoaderListener java.lang.NoClassDefFoundError: de/hybris/platform/ldap/model/LDIFMediaModel at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at de.hybris.platform.spring.LazyInitOverrideBeanFactoryPostProcessor.forName(LazyInitOverrideBeanFactoryPostProcessor.java:90) at java.util.Optional.map(Optional.java:215) at de.hybris.platform.spring.LazyInitOverrideBeanFactoryPostProcessor.postProcessBeanFactory(LazyInitOverrideBeanFactoryPostProcessor.java:59) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:283) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:178)

Accepted Solutions (0)

Answers (1)

Answers (1)

arvind-kumar_avinash
Active Contributor
0 Likes

Hi - The class LDIFMediaModel is generated by Hybris based on the following definition in ldap-items.xml. Please include ldap extension in localextensions.xml and rebuild the system.

 <itemtype code="LDIFMedia" generate="true" autocreate="true"
     jaloclass="de.hybris.platform.ldap.jalo.LDIFMedia"
     extends="Media">
     <attributes>
         <attribute qualifier="catalogVersion" type="CatalogVersion" redeclare="true">
             <modifiers read="true" write="true" initial="false" search="true" optional="true" unique="true"/>
             <persistence type="property"/>
         </attribute>
     </attributes>
 </itemtype>