Folks,
I am using Rules 4.0 in WebSphere 6.0 app server.
Made a simple test file with a simple rule :
rule "Test"
when
cs : SupplierView()
then
System.out.println(cs);
end
But getting exception:
[6/6/07 16:13:06:456 EDT] 00000020 SystemErr R java.lang.IllegalArgumentException: The rule called Test is not valid. Check for compile errors reported.
at org.drools.common.AbstractRuleBase.addRule(AbstractRuleBase.java:363)
at org.drools.reteoo.ReteooRuleBase.addRule(ReteooRuleBase.java:263)
at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:293)
How can I check compile errors?? And what is not valid in this rule?
Thanks for any ideas…
-Sergey