Following paragraph 2.2 for configuring the Form Engine, I created this flowable.cfg.xml file:
<beans>
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" >
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://localhost:3306/flowable" />
<property name="username" value="root" />
<property name="password" value="mypwd" />
<property name="defaultAutoCommit" value="false" />
</bean>
<bean id="formEngineConfiguration" class="org.flowable.form.engine.impl.cfg.StandaloneFormEngineConfiguration">
<property name="dataSource" ref="dataSource" />
</bean>
<bean id="formEngineConfigurator" class="org.flowable.form.engine.configurator.FormEngineConfigurator">
<property name="formEngineConfiguration" ref="formEngineConfiguration" />
</bean>
<bean id="processEngineConfiguration" class="org.flowable.engine.impl.cfg.StandaloneProcessEngineConfiguration">
<property name="dataSource" ref="dataSource" />
<property name="configurators">
<list>
<ref bean="formEngineConfigurator" />
</list>
</property>
</bean>
When I start a process using:
runtimeService.startProcessInstanceWithForm
I get this error:
Cannot find class [org.flowable.form.engine.configurator.FormEngineConfigurator] for bean with
name 'formEngineConfigurator' defined in InputStream resource [resource loaded through InputStream]; nested
exception is ava.lang.ClassNotFoundException: org.flowable.form.engine.configurator.FormEngineConfigurator
I looked the available jar and it seams to me that the class org.flowable.form.engine.configurator.FormEngineConfigurator is missing.
Is it true? Where am I wrong?