[rules-users] Drools beginner - unable to resolve method using strict-mode

Vincent LEGENDRE vincent.legendre at eurodecision.com
Thu Apr 11 07:44:07 EDT 2013


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

----- Mail original -----

De: "Stefan Schuster" <stefan.m.schuster at gmail.com> 
À: "Rules Users List" <rules-users at 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 at 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: 



<blockquote>

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 at gmail.com> 
À: "Rules Users List" <rules-users at 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 at lists.jboss.org 
https://lists.jboss.org/mailman/listinfo/rules-users 


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



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

</blockquote>


_______________________________________________ 
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/20130411/ac4aa30e/attachment.html 


More information about the rules-users mailing list