AnsweredAssumed Answered

How define spring bean for creating a custom action (Problem with attribute parent="action-executer") ??

Question asked by lina on May 3, 2017
Latest reply on May 29, 2017 by lina

I create a custom action using an extension under site-data folder, I create a custom model and i the action executer class, but when i define it under the file XXX-context.xml like :

 

<bean id='doc-tagging' class='com.capgemini.TagActionExecuter' parent='action-executer'>

........

</bean>

I had the following EXCEPTION !!!!!

 

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'action-executer' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:575)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1111)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:892)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1166)
... 17 more

 

S.O. can help me please !!!

Outcomes