Chong Minsk Goh wrote:
Hi,
I am trying to run Drools on Netbeans. I have added the jars from Drools 4.0.2. However, I encountered an error org.doxa.rules.RulesManager - org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration:mvel'
MVEL is a required jar, not an optional one, put it on your classpath and hopefully this should work for you.
I did not use any MVEL dialects in my rules definition. Here is my rule:
*

rule

* "Out of Range" *when* m : Message( message == "checkRange" , status == 1 )

Range(myMin : myMin, myMax : myMax, myValue : myValue)

Range(myValue < myMin || myValue > myMax)

*then* m.setMessage("");

m.setStatus(0);

*end*
Has anyone attempted using Netbeans with Drools and faced this problem? Best regards
Eric
------------------------------------------------------------------------

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to