Hello, I'd like to call a method called doSomething() (it returns a string) from a small Java Class myJavaClass using the java service task. I'd like to use the returned string for showing it in the following user task. Therefore my process looks like this here:
But when I start a process instance in Activiti explorer there comes an exception which tells me that the given class cannot be instanciated: 03110005 Wrapped Exception (with status template): couldn't instantiate class org.myJavaClass
Do you deploy your process on tomcat? If so, make sure the jar containing your classes in in the web-inf/lib of your webapp. If not in webapp-context, check your classpath, the class should be present on it.