Class not found exception while using call activities in camunda heterogeneous setup

Setup - Two standalone Springboot projects each having one process in it and sharing a common database. Both projects are deployment aware and have async-before set to true in all its activities. project 1 has a call-activity box directed towards project 2.

Problem - When project1’s call-activity is triggered, it is successfully able to call project2. Project2 runs its service tasks but after finishing whole process it throws
“Caused by: java.lang.ClassNotFoundException: com.project1.ServiceTaskClass”

My Understanding - After project2 finishes its execution instead of project1 picking its own class, project2 is picking project1’s class causing this.

But i want to understand why is this happening since both projects are deployment aware and async-before:true is applied in all start-events and other activities so what could be going wrong here

Do you have output cars mapping implemented as code (beans)?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.