Hi guys,
I'm deploying the .bar file on activiti explorer (this .bar file is generated through eclipse activiti plugin) and i had used service task in my process and attached a class with it.
But the bar file which is getting generated does not contains the java class so after deploying it when i'm running its throwing "Class Not Found Exception".
So please help me in deploying java classes with it.
bpmn service task:
<serviceTask id="validateUserCredentials_servicetask" name="Validate User Credentials" activiti:class="org.happiestminds.travelManagement.services.impl.ValidateUserCredentialsImpl"></serviceTask>
Java class:
Here ValidateUserCredentials Interface has extended JavaDelegate Interface.
public class ValidateUserCredentialsImpl implements ValidateUserCredentials {
/* (non-Javadoc)
* @see org.activiti.engine.delegate.JavaDelegate#execute(org.activiti.engine.delegate.DelegateExecution)
*/
@Override
public void execute(DelegateExecution execution) throws Exception {
}
}
Error:
could not instantiate class packageName.ValidateUserCredentialsImpl
—
Vaibhav