Thanks. I looked a bit more into this. Drools runs fine on its own. It has to 
do with the code coverage tool (emma) that I use. The drools compiler and emma 
might have some kind of conflict regarding classloader usage.
   
  Yuesong
  
Mark Proctor <[EMAIL PROTECTED]> wrote:
  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.
> 



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to