AnsweredAssumed Answered

Java classes not getting deployed with bar file throwing class not found exception

Question asked by vaibhavmaniar on Jan 9, 2014
Latest reply on Jan 9, 2014 by frederikheremans1
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

Outcomes