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