That shouldn't happen, looks like a classpath issue. Also I think you
are on an older version of Drools, please try RC2 and let me know if its
still a problem.
Mark
Yuesong Wang wrote:
I got the following exception when trying to add a package to a RuleBase
org.drools.rule.InvalidRulePackage: Rule Compilation error org.drools.spi.KnowledgeHelper cannot be resolved to a type
at org.drools.rule.Package.checkValidity(Package.java:378)
at org.drools.reteoo.RuleBaseImpl.addPackage(RuleBaseImpl.java:303)
...
Anyone knows what could be the problem? It is a unit test which runs OK in Eclipse, but fails when running from the command line, even classpath is the same.
Sorry about the lack of details. Have to run now. Will provide more info later if necessary.
Thanks,
Yuesong
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
starting at 1¢/min.