AnsweredAssumed Answered

Problem with a new Action

Question asked by drbaz on Dec 9, 2005
Latest reply on Dec 15, 2005 by rwetherall
I have added a new Action but as soon as I re-launch Alfresco i get the following error :

16:22:59,997 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name '' defined in class path resource [alfresco/action-services-context.xml]: Bean class [org.alfresco.repo.action.evaluator.TextPropertyValueComparator] not found; nested exception is java.lang.ClassNotFoundException: org.alfresco.repo.action.evaluator.TextPropertyValueComparator
java.lang.ClassNotFoundException: org.alfresco.repo.action.evaluator.TextPropertyValueComparator
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)

My new action mimics the delivered "Mail" action.
The relvant part of the action-services-context.xml is
<bean id="myAction" class="org.alfresco.repo.action.executer.myActionExecuter" parent="action-executer">

        <property name="mailService">

            <ref bean="mailService"></ref>

        </property>

    </bean>

Any suggestions ?

Outcomes