Because jBPM4 should prevent the process definitions who have same key with different names. So it will try to deploy all of process definitions from database.
I think you could delete those deployments which won't be used. As you pointed those process definition's class or mail templates had been removed, So they can't be reused any more.
Hi Huisheng Xu,
thanks for your reply. You are right, deleting should do the job. We have high requirements for historization and it´s a bit disadvantageous that the deployments must be deleted to avoid the above error. But as the history process information is left in the database, it´s ok for us and we´ll keep track of the deployment history ourself. Thanks for the clarification!