Free Marker with Spring Boot

What dependencies I need to add to use freemarker in my bpmn?
please find my attached pom.xml

I am getting the below error:

ENGINE-16004 Exception while closing command context: Can’t find scripting engine for ‘freemarker’: scriptEngine is nullpom.xml (2.6 KB)

1 Like

@manish_kumar for using freemarker in camunda, use the below dependency:

<dependency>
    <groupId>org.camunda.template-engines</groupId>
    <artifactId>camunda-template-engines-freemarker</artifactId>
</dependency>

Please import the Camunda BOM to ensure correct versions for every Camunda project.

For more details on template engine configuration, refer:
https://docs.camunda.org/manual/7.12/user-guide/process-engine/templating/#install-a-template-engine

Freemarker usage basic guidelines:
https://blog.camunda.com/post/2014/07/hello-name-templating-with-camunda-bpm/

1 Like