{"action":"created","issue":{"url":"https://api.github.com/repos/Activiti/Activiti/issues/2054","repository_url":"https://api.github.com/repos/Activiti/Activiti","labels_url":"https://api.github.com/repos/Activiti/Activiti/issues/2054/labels{/name}","comments_url":"https://api.github.com/repos/Activiti/Activiti/issues/2054/comments","events_url":"https://api.github.com/repos/Activiti/Activiti/issues/2054/events","html_url":"https://github.com/Activiti/Activiti/issues/2054","id":368588838,"node_id":"MDU6SXNzdWUzNjg1ODg4Mzg=","number":2054,"title":"The deployment contains process definitions with the same key (process id atrribute), this is not allowed","user":{"login":"785227331","id":14314915,"node_id":"MDQ6VXNlcjE0MzE0OTE1","avatar_url":"https://avatars1.githubusercontent.com/u/14314915?v=4","gravatar_id":"","url":"https://api.github.com/users/785227331","html_url":"https://github.com/785227331","followers_url":"https://api.github.com/users/785227331/followers","following_url":"https://api.github.com/users/785227331/following{/other_user}","gists_url":"https://api.github.com/users/785227331/gists{/gist_id}","starred_url":"https://api.github.com/users/785227331/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/785227331/subscriptions","organizations_url":"https://api.github.com/users/785227331/orgs","repos_url":"https://api.github.com/users/785227331/repos","events_url":"https://api.github.com/users/785227331/events{/privacy}","received_events_url":"https://api.github.com/users/785227331/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-10T10:02:59Z","updated_at":"2018-10-10T13:22:01Z","closed_at":null,"author_association":"NONE","body":"Hello, I have a problem, my project is springMVC + Activiti, and when the project startup it report the following error :\r\n`Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.activiti.engine.ActivitiException: The deployment contains process definitions with the same key (process id atrribute), this is not allowed\r\n\tat org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)\r\n\tat org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1517)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:314)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)\r\n\t... 73 more\r\nCaused by: org.activiti.engine.ActivitiException: The deployment contains process definitions with the same key (process id atrribute), this is not allowed\r\n\tat org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:159)\r\n\tat org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:58)\r\n\tat org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:103)\r\n\tat org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:37)\r\n\tat org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)\r\n\tat org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)\r\n\tat org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)\r\n\tat org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)\r\n\tat org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)\r\n\tat org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)\r\n\tat org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)\r\n\tat org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)\r\n\tat org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:78)\r\n\tat org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:156)\r\n\tat org.activiti.spring.autodeployment.DefaultAutoDeploymentStrategy.deployResources(DefaultAutoDeploymentStrategy.java:64)\r\n\tat org.activiti.spring.SpringProcessEngineConfiguration.autoDeployResources(SpringProcessEngineConfiguration.java:111)\r\n\tat org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:67)\r\n\tat org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:60)\r\n\tat org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32)\r\n\tat org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)\r\n\t... 90 more\r\n`"},"comment":{"url":"https://api.github.com/repos/Activiti/Activiti/issues/comments/428568967","html_url":"https://github.com/Activiti/Activiti/issues/2054#issuecomment-428568967","issue_url":"https://api.github.com/repos/Activiti/Activiti/issues/2054","id":428568967,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODU2ODk2Nw==","user":{"login":"balsarori","id":2126270,"node_id":"MDQ6VXNlcjIxMjYyNzA=","avatar_url":"https://avatars0.githubusercontent.com/u/2126270?v=4","gravatar_id":"","url":"https://api.github.com/users/balsarori","html_url":"https://github.com/balsarori","followers_url":"https://api.github.com/users/balsarori/followers","following_url":"https://api.github.com/users/balsarori/following{/other_user}","gists_url":"https://api.github.com/users/balsarori/gists{/gist_id}","starred_url":"https://api.github.com/users/balsarori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balsarori/subscriptions","organizations_url":"https://api.github.com/users/balsarori/orgs","repos_url":"https://api.github.com/users/balsarori/repos","events_url":"https://api.github.com/users/balsarori/events{/privacy}","received_events_url":"https://api.github.com/users/balsarori/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T13:22:01Z","updated_at":"2018-10-10T13:22:01Z","author_association":"MEMBER","body":"This is expected if two or more process definitions have the same process key (the process id in the BPMN xml file). Make sure that all process definitions BMN xml files have different ids of the process element."}}
{"actor":{"display_login":"balsarori"}}