2 Camunda Tutorial for Java Developers

///2 Camunda Tutorial for Java Developers

2 Camunda Tutorial for Java Developers

FavoriteLoadingAdd to favorites

In this how-to video, you will learn how to build a process, and how to add some Java classes to it. Join Camunda Developer Advocate and all-around Camunda expert, Niall Deehan, on this simple process automation journey walkthrough using tools like Camunda Cockpit, Tasklist, Wildfly, Java, Eclipse, Maven Archetypes and more.


We have received feedback that the audio is inconsistent. We have updated our closed captions to more closely match what is being discussed in the video.

Share your questions at any time:
Subscribe to our newsletter for the latest from the Camunda Developer Community:

Visit our website:
Connect with us on LinkedIn:
Tweet with us:
Join us on Facebook:

Camunda is an open source software company innovating process automation with a developer-friendly approach that is standards-based, highly scalable and collaborative for both business and IT needs.

A community of thousands of users across companies such as Allianz, ING, and Vodafone design, automate and improve mission-critical business processes end-to-end with Camunda, enabling them to build software applications more flexibly, collaboratively and efficiently, gaining the business agility, visibility and scale needed to drive digital transformation.


By |2021-04-26T13:38:44+00:00April 26th, 2021|Java Video Tutorials|25 Comments


  1. DuJuan Hair April 26, 2021 at 1:38 pm - Reply

    Hi – i need help on an error….When i run the "maven install" command in Eclipse, i get the following error messages:

    [INFO] ————————————————————————


    [INFO] ————————————————————————

    [INFO] Total time: 9.737 s

    [INFO] Finished at: 2021-04-17T23:15:3904:00

    [INFO] ————————————————————————

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project SimpleDemo2: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.2:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.2' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Cannot access defaults field of Properties

    [ERROR] —————————————————–

    [ERROR] realm = plugin>org.apache.maven.plugins:maven-war-plugin:2.2

    [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

    [ERROR] urls[0] = file:/C:/Users/dujua/.m2/repository/org/apache/maven/plugins/maven-war-plugin/2.2/maven-war-plugin-2.2.jar

    [ERROR] urls[1] = file:/C:/Users/dujua/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar

    [ERROR] urls[2] = file:/C:/Users/dujua/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar

    [ERROR] urls[3] = file:/C:/Users/dujua/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar

    [ERROR] urls[4] = file:/C:/Users/dujua/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar

    [ERROR] urls[5] = file:/C:/Users/dujua/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar

    [ERROR] urls[6] = file:/C:/Users/dujua/.m2/repository/org/codehaus/plexus/plexus-io/2.0.2/plexus-io-2.0.2.jar

    [ERROR] urls[7] = file:/C:/Users/dujua/.m2/repository/org/codehaus/plexus/plexus-archiver/2.1/plexus-archiver-2.1.jar

    [ERROR] urls[8] = file:/C:/Users/dujua/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.15/plexus-interpolation-1.15.jar

    [ERROR] urls[9] = file:/C:/Users/dujua/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar

    [ERROR] urls[10] = file:/C:/Users/dujua/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar

    [ERROR] urls[11] = file:/C:/Users/dujua/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar

    [ERROR] urls[12] = file:/C:/Users/dujua/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar

    [ERROR] urls[13] = file:/C:/Users/dujua/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.jar

    [ERROR] Number of foreign imports: 1

    [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]


    [ERROR] —————————————————–

    [ERROR] -> [Help 1]


    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

    [ERROR] Re-run Maven using the -X switch to enable full debug logging.


    [ERROR] For more information about the errors and possible solutions, please read the following articles:

    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException

    Please advise on how to correct this. Thanks.

  2. Michael Hughes April 26, 2021 at 1:38 pm - Reply

    Good tutorial, thank you!

  3. hajar essaidi April 26, 2021 at 1:38 pm - Reply

    Please I couldn't download camunda standalone webapp tomcat even wildfly using this link https://docs.camunda.org/manual/latest/installation/standalone-webapplication/#download , great tuto btw

  4. Dedranka April 26, 2021 at 1:38 pm - Reply

    Hey Niall ,
    you should update this part of tutorial , in the current version this approach is not working during the maven install, to work around this i used mvn clean package

  5. Chetan Sankhala April 26, 2021 at 1:38 pm - Reply

    audio quality is low

  6. SolidarityConcept April 26, 2021 at 1:38 pm - Reply

    hey, thank you for your video!
    my problem is, i have a bigger model with mulitple processes and when im running it says no processes deployed with key 'projectkeyname' because every lane has an individual process key. How do you resolve that?

  7. ND K April 26, 2021 at 1:38 pm - Reply

    Part2 watched as well but the same feedback… This tutorial is meant to be for viewers who never seen Camunda before. Thanks you for explaining the maven build error but instead I wished I heard some heads on task types (when creating new) what they are what they do, which probably would have taken the same amount of time. Also, am still in the dark on the whole (very important) concept behind the tasks – what starts them, options on how they get triggered – not manually triggered! I see you trigger them manually by clicking START, that was not enough for me to understand the concept of life like application.

  8. vishnu sri April 26, 2021 at 1:38 pm - Reply

    Hi Can i know how the Server file came into BPM runner file because in your setup video the Server didn't exist as well.

  9. vishnu sri April 26, 2021 at 1:38 pm - Reply

    Is this for spring boot as well?

  10. Asparuh Petrov April 26, 2021 at 1:38 pm - Reply

    I always get some errors…. why dont you provide a git so I can check everything very well and follow the example maybe you missed to mention something?

  11. Khanyisa Mhlaba April 26, 2021 at 1:38 pm - Reply

    I'm getting an Error Opening the modeler in Eclipse " Unable to Open external Editor Camunda Modeler" error opening external editor.

  12. PHUONG NAM VU April 26, 2021 at 1:38 pm - Reply


  13. Wildcard April 26, 2021 at 1:38 pm - Reply

    Marvelous tutorial! Really appreciate your time making this 🙂

  14. Matthew Law April 26, 2021 at 1:38 pm - Reply

    This man owns a hawk. Like for that alone.

  15. jeya prakash April 26, 2021 at 1:38 pm - Reply

    Thanks for your sharing…

  16. sarelrbox April 26, 2021 at 1:38 pm - Reply

    I cannot find the "Audit Log" and "Variables" in the Cockpit, it looks like they have been taken away (I am using 7.13)

  17. Khandar William April 26, 2021 at 1:38 pm - Reply

    the voice is too low compared to the first video

  18. Andres Hun April 26, 2021 at 1:38 pm - Reply

    Hey Niall thanks so much for the tutorial!
    I wanted to ask, if im running camunda in a docker container, how would I add the war file so that the BPMN appears in Cockpit?

  19. ben othmen rabeb April 26, 2021 at 1:38 pm - Reply

    Hi, am getting below error when i try to start process.
    The process could not be started. :

    Cannot instantiate process definition SimpleDemo:4:bb1bf2dd-ac9f-11ea-afdf-c0e434376e8b: Unknown property used in expression: #{not weatherOk}}. Cause: Cannot resolve identifier 'weatherOk'

  20. Krishna KC April 26, 2021 at 1:38 pm - Reply

    We are deploy the same wildfly and jboss community edition. in wildfly community edition process is visible but in jboss community edition it is not visible. We tried more than 10 time any dependencies is required for jboss

  21. Krishna KC April 26, 2021 at 1:38 pm - Reply

    Hi Nail, We just start learn the camunda bpm. we followed your #2 Camunda Turotial for java developers as it is. After deploy and start process it is not showing in the cockpit. We have tried many time. Can you please advise. why it is not showing.

  22. gaurav wadhwa April 26, 2021 at 1:38 pm - Reply

    Hi Niall, after the deployment of war, i ran the demo sucesfully but the processs not showing any logs in the bpmn portal

  23. gaurav wadhwa April 26, 2021 at 1:38 pm - Reply

    Hi Niall, I did exactly you showed and getting this error: condition expression returns non-Boolean: result has class java.lang.String and not java.lang.Boolean

  24. Computer Analyst April 26, 2021 at 1:38 pm - Reply


Leave A Comment