I have an Alfresco 6.1 platform project to enable a caching content store. I am facing the following error while deploying the project:
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.alfresco.util.CronTriggerBean] for bean with name 'cachingContentStoreCleanerTrigger' defined in class path resource [alfresco/module/blob-connector/context/service-context.xml]; nested exception is java.lang.ClassNotFoundException: org.alfresco.util.CronTriggerBean
This my bean configuration in service-context.xml:
<bean id="cachingContentStoreCleanerTrigger" class="org.alfresco.util.CronTriggerBean">
<property name="jobDetail">
<ref bean="cachingContentStoreCleanerJobDetail" />
</property>
<property name="scheduler">
<ref bean="schedulerFactory" />
</property>
<property name="cronExpression">
<value>${system.content.caching.contentCleanup.cronExpression}
</value>
</property>
</bean>
This was working fine in version 5.2.