It seems that the Spring framework examples for shared container is not working as expected.
ntext: no processes deployed with key ‘loanApproval’: processDefinition is null
org.camunda.bpm.engine.exception.NullValueException: no processes deployed with key ‘loanApproval’: processDefinition is null
I have confirmed that the loanApproval.bpmn process key are correct (I’ve updated it with “loanApproval”)
I did not generate a business key. What I did is download the spring framework sample (shared container) and update the loanApproval.bpmn and run it in vanilla tomcat.
yes I’ve realized that, and deleted my question already
I can start your process definition fine in a unit test. Could you please may be publish your project on github? Looks like your process definition is not getting deployed for some reason.
I tried running the embedded application it is OK running fine. But as soon as I modify to use shared runtime, it hit the same problem. process definition is null
I think you should delete processes.xml, since you declare SpringProcessApplication in your context. You have to decide for one of those, not use both of them.
Just tried out your suggestion, deleted the processes.xml but i still have the same issue.
init method failed; nested exception is org.camunda.bpm.engine.exception.NullValueException: no processes deployed with key ‘loanApproval’: processDefinition is null
Today,i have tried to integrate the spring framework with camunda follwing the camunda docs
ended up the same error as follows, org.camunda.bpm.engine.exception.NullValueException: no processes deployed with key ‘loanApproval’: processDefinition is null
There is a general misunderstanding on the tutorial side. If you are using camunda modeler to design model, you need to type processId instead of bpmn file name here. That’s why most people confusing this.
Was anyone able to resolve this issue? I’m also receiving — no deployed process definition found with id ‘loanApproval’: processDefinition is null. I followed https://github.com/camunda/camunda-get-started-spring
I try to replace the file name with processId but I receive the same error.
Debuging at ProcessDefinitionManager#findLatestProcessDefinitionByKey(…) the select query didn’t return any result neither using the file name neither the processId.