AnsweredAssumed Answered

Can't create custom form property

Question asked by hungnt on May 28, 2017
Latest reply on May 30, 2017 by ryandawson

Dear all!

I want to create a custom form property, and i viewd post: http://www.jorambarrez.be/blog/2013/03/13/creating-a-new-form-property-in-activiti/ but i can't find activiti.cfg.xml and i can't create a custom field. When runing Activiti - Webapp - Explorer V2 then show error:

 

javax.servlet.ServletException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'explorerApp' defined in class path resource [activiti-ui-context.xml]: Cannot resolve reference to bean 'formPropertyRendererManager' while setting bean property 'formPropertyRendererManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formPropertyRendererManager' defined in class path resource [activiti-ui-context.xml]: Cannot create inner bean 'org.activiti.explorer.ui.form.HungNTFormPropertyRenderer#1f60b638' of type [org.activiti.explorer.ui.form.HungNTFormPropertyRenderer] while setting bean property 'propertyRenderers' with key [9]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.activiti.explorer.ui.form.HungNTFormPropertyRenderer#1f60b638' defined in class path resource [activiti-ui-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.explorer.ui.form.HungNTFormPropertyRenderer]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.activiti.explorer.ui.form.HungNTFormPropertyRenderer.<init>()

Please help me! Thanks!

Outcomes