[rules-users] java.lang.NoSuchMethodError on every Action node

Ana F Santos aflavia at pst.com.br
Mon Sep 14 10:09:36 EDT 2009


Kris,

Thanks for trying to help.
I just downloaded drools-5.1.0.SNAPSHOT-bin from 
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/ 
 - which I found in a thread from this mailing list - and changed my 
drools runtime in Eclipse. Since then, it seems that all my problems are 
solved! There are no weird errors anymore ;)
In any case, I'm using Drools 5, and yes, I'm compiling and executing with 
the same version.

Thanks anyway!


ANA FLÁVIA FONSECA DOS SANTOS
Analista de Desenvolvimento de Software

PST Eletrônica S/A
Phone: +55 19 3787 6379 
aflavia at pst.com.br
www.pst.com.br
www.positron.com.br





From:
Kris Verlaenen <kris.verlaenen at cs.kuleuven.be>
To:
Rules Users List <rules-users at lists.jboss.org>
Date:
14/09/2009 10:59
Subject:
Re: [rules-users] java.lang.NoSuchMethodError on every Action node
Sent by:
rules-users-bounces at lists.jboss.org



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 at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090914/f07927d1/attachment.html 


More information about the rules-users mailing list