Whenever you add a Java action in your process, the compiler will
generate a Java class in the background that will be used for executing
this action.  The error seems to indicate that the class generated by
the compiler is not what the runtime is expecting.  Which version of
Drools are you using?  And are you compiling and executing with the same
version (or are you for example first building your knowledge base and
then serializing your package or getting it from guvnor)?

If possible, could you include a sample project that shows the issue, so
I could take a look what's going on at runtime?

Kris


> This time, every action I try to insert in a ruleflow, I receive a 
> java.lang.NoSuchMethodError. I'm even trying a really simple ruleflow
> with 
> just one simple action - like System.out.println("Test"); - and all I
> get 
> is a java.lang.NoSuchMethodError.


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to