Probably you have builded app with lib with version A and next you are trying to deploy and run the same app but with lib with version B. Check versions of your jbpm. Your jbpm versions should be the same.
I just imported the .bmpn file and flt files only and i am not doing build and deploy. I just upload guvonor repository.
I also get this exception,
Caused by: java.lang.NoSuchMethodError: defaultPackage.Process_defaultPackage_0.action0(Lorg/drools/runtime/process/ProcessContext;)
with jbpm5.1.0M1 and i have the feeling that it has to do with the compilation of a process containing scripttask.
This problem seems to occur after creating a process that contains start node->script node (with a System.out.println("this will do"); )->end node in a fresh installation of jbpm. I added everything on Guvnor, compiled it and from jbpm console, while having the already available "Evaluation" process, i noticed that the first process of the two (either the test process or evaluation process) runs normally the second process that will run is going to throw the exception above. If i restart jboss and rebuild package and try the seconf process first it will work and the other process that runs second breaks with the exception above.... The stacktrace indicates an error in the compilation since the defaultPackage does not contain the action0 method.
Has anyone else noticed this behavior?? I would greatly appreciate any help, other experiences, ideas, comments etc
Check if you have compatible Drools version with your jBPM version.
I'm using the drools distribution mentioned in the build.properties and build.xml that comes with version jbpm5.1.0M1. The drools version related to guvnor and the eclipse plugin is drools 5.2.0.M2 as far as i can see in build.properties. I haven't really touched drools.
Are you saying that the scenario above in jbpm5.1M1 does not cause you the exception?