More information would be helpful, such as your process definition.
On a first look it seems like your deployment is not complete. Perhaps (and this is just a rough guess) after your task you have a java activity that requires that class but the class was not part of deployment (resources of type .class was not added before calling deploy method)