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/t...
- 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(a)pst.com.br
www.pst.com.br
www.positron.com.br
From:
Kris Verlaenen <kris.verlaenen(a)cs.kuleuven.be>
To:
Rules Users List <rules-users(a)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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users