Web applications
To enable the Web Applications you can use the following starter in your pom.xml
:
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
<version>{project-version}</version>
</dependency>
By default, the starter registers a controller to redirect /
to Camunda’s bundled index.html
.
To disable this, you have to add to your application properties:
camunda.bpm.webapp.index-redirect-enabled=false
The default error handling coming with the Spring Boot (‘whitelabel’ error page) is enabled in the starter. To switch to the Camunda error pages (webjar/META-INF/resources/webjars/camunda/error-XYZ-page.html
), please put them to the application folder structure under /src/main/resources/public/error/XYZ.html
.
Enterprise webapps
To use the enterprise Web applications, include another starter:
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-webapp-ee</artifactId>
<version>{project-version}</version>
</dependency>
Also don’t forget to define the appropriate Camunda engine version (with “ee” suffix): see Overriding Camunda version.
If you are using the enterprise edition, you can also use the camunda.bpm.license-file
property to provide a license file that is inserted on application start. Or copy your license file under the name camunda-license.txt
to your src/main/resources
.