Is the RulesOutput class in the com.sample package? otherwise you need to
either fully qualify the class name or import it...
[]s
Edson
2007/7/16, Mike Vargo <mike.vargo(a)chromeriver.com>:
*I have a very simple drl file.*
==============================================
package com.sample;
#generated from Decision Table
global RulesOutput rulesOutput;
#From row number: 12
rule "Routing Decision_12"
salience 65524
when
Matter(type == "MyMatter")
then
rulesOutput.setRoleId(1);
drools.clearAgenda();
end
==============================================
*When I load it, I get the following:*
org.drools.rule.InvalidRulePackage: Rule Compilation error rulesOutput
cannot be resolved
at org.drools.rule.Package.checkValidity(Unknown Source)
at org.drools.common.AbstractRuleBase.addPackage(Unknown
Source)
at com.sample.PHRulesTest.main(PHRulesTest.java:42)
Any help is appreciated…
- Mike
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com