When I deploy, an error is reported as follows:
org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: The deployment contains definitions with the same key ‘’ (id attribute), this is not allowed
org.camunda.bpm.engine.ProcessEngineException: The deployment contains definitions with the same key ‘’ (id attribute), this is not allowed
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.ensureNoDuplicateDefinitionKeys(AbstractDefinitionDeployer.java:192)
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.deploy(AbstractDefinitionDeployer.java:65)
We look forward to your help. Thank you very much!
Check all your forms very carefully.
Several users have had issues where the contents of the form resulted in duplicate keys (they were null, so deploying each form individually would work, but two forms together would not)
Cool!You are right.
After I redraw the form, it has been successfully deployed.It can be seen that there is a problem with my previous form. Because it is directly copied for use
I did not mean the bpmn xml but the processes.xml file which is part of every Camunda Process Application. It describes how the process application should be deployed.
There, it could appear that you explicitely add a resource AND scan for resources on the classpath which would result in having the same resource in the deployment multiple times which would cause the same exception.