Define the type as a java class and the error should go away.


De: "Stefan Schuster" <stefan.m.schuster@gmail.com>
À: "Rules Users List" <rules-users@lists.jboss.org>
Envoyé: Jeudi 11 Avril 2013 10:38:01
Objet: Re: [rules-users] Drools beginner - unable to resolve method using        strict-mode

yes, the dialect is declared as mvel. The pong game is also part of the standard-examples that come with drools-experts. It's the same if I import this example unmodified. But as it runs, it seams to be only an issue with the eclipse plugin. Annoying, but no serious problem.

thanks to all for your help!


2013/4/10 Davide Sottara <dsotty@gmail.com>
That rule style requires

dialect "mvel"

to be declared either at the rule level or globally in the DRL file,
do you have that?

Davide


On 04/10/2013 08:41 AM, Vincent LEGENDRE wrote:
I am not that drools eclipse plugin is able to see DRL types if they are defined in a separate DRL file.
But if your app works well, it is only that.
If the type is really missing, you should encounter errors at runtime (when feeding the knowledge base)


De: "Stefan Schuster" <stefan.m.schuster@gmail.com>
À: "Rules Users List" <rules-users@lists.jboss.org>
Envoyé: Mercredi 10 Avril 2013 16:44:50
Objet: Re: [rules-users] Drools beginner - unable to resolve method using        strict-mode

Thanks a lot for this hint, but unfortunately this wasn't the problem.

Any other ideas?

Thanks in advance 
Stefan




_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users