# Error in Form Engine configuration

**URL:** <https://forum.flowable.org/t/error-in-form-engine-configuration/549>\
**Category:** Flowable Engine\
**Created:** [May 11, 2017, 1:15pm UTC](https://forum.flowable.org/t/error-in-form-engine-configuration/549 "2017-05-11T13:15:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fab](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fab](https://forum.flowable.org/u/Fab)\
**Post date:** [May 11, 2017, 1:15pm UTC](https://forum.flowable.org/t/error-in-form-engine-configuration/549/1 "2017-05-11T13:15:02Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [May 12, 2017, 6:48am UTC](https://forum.flowable.org/t/error-in-form-engine-configuration/549/2 "2017-05-12T06:48:02Z")

</div>

Hi Fab.

> [@Fab](#):
>
> FormEngineConfigurator

is present in `flowable-form-engine-configurator` module. Include this jar into your classpath.

Regards  
Martin

---

<div class="post-metadata">

**Author:** ![Fab](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fab](https://forum.flowable.org/u/Fab)\
**Post date:** [May 12, 2017, 8:35am UTC](https://forum.flowable.org/t/error-in-form-engine-configuration/549/3 "2017-05-12T08:35:48Z")

</div>

Thanks, it works. I searched the jar in the wrong place.

Maybe, you can help me with another issue I am facing. By the way, I am quite new with flowable.

I am working with the HolidayRequest process from the documentation.

I created a form with 3 fields:

```
employee
nrOfHolidays
description

```

I put values in an map:

```
variables.put("employee", "goofy");
variables.put("nrOfHolidays", "2");
variables.put("description", "Bla, bla");

```

When I start the process with:

```
ProcessInstance processInstance = runtimeService.startProcessInstanceWithForm(
            "holidayRequest:13:112506", 
            "OK", 
            variables, 
            null);

```

I get this error:

```
ELResolver cannot handle a null base Object with identifier 'employee'

```

How are the form variables referenced in the process?

---

<div class="post-metadata">

**Author:** ![tijs](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@tijs](https://forum.flowable.org/u/tijs)\
**Post date:** [May 17, 2017, 1:18pm UTC](https://forum.flowable.org/t/error-in-form-engine-configuration/549/4 "2017-05-17T13:18:48Z")

</div>

Hi,

The holdiay request example is using form properties instead of the new Form Definitions provided in Flowable 6. Did you add a form definition in the start event of your holiday request process?  
You might want to have look at [https://paulhh.wordpress.com/2017/01/31/flowable-6-instant-gratification/](https://paulhh.wordpress.com/2017/01/31/flowable-6-instant-gratification/) to see how you can implement such a process with form definitions etc.

Best regards,

Tijs

---

<div class="post-metadata">

**Author:** ![forflower](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/forflower/32/2028_2.png) [@forflower](https://forum.flowable.org/u/forflower)\
**Post date:** [September 9, 2020, 6:20am UTC](https://forum.flowable.org/t/error-in-form-engine-configuration/549/5 "2020-09-09T06:20:32Z")

</div>

如果你是用maven管理，记得添加  
  
org.flowable  
flowable-engine  
6.3.0  
  
  
org.flowable  
flowable-form-engine-configurator  
6.3.0

---

<div class="post-metadata">

**Author:** ![forflower](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/forflower/32/2028_2.png) [@forflower](https://forum.flowable.org/u/forflower)\
**Post date:** [September 9, 2020, 6:21am UTC](https://forum.flowable.org/t/error-in-form-engine-configuration/549/6 "2020-09-09T06:21:47Z")

</div>

回复提交之后居然把maven的dependency给过滤了
