1 Reply Latest reply on Nov 2, 2006 6:46 AM by lei zhu

    ExpanderResolver was not set

    Jacky Wong Newbie

      Dear all,

      I have followed the livetrails at http://labs.jboss.com/file-access/default/members/jbossrules/freezone/livetrails/credit_dsl_viewlet_swf.html but i'm stuck.

      I get this error:

      Exception in thread "main" java.lang.IllegalArgumentException: Unable to use expander. Make sure a expander or dsl config is being passed to the parser. [ExpanderResolver was not set].
      at org.drools.lang.RuleParser.expander(Unknown Source)
      at org.drools.lang.RuleParser.prolog(Unknown Source)
      at org.drools.lang.RuleParser.compilation_unit(Unknown Source)
      at org.drools.compiler.DrlParser.compile(Unknown Source)
      at org.drools.compiler.DrlParser.parse(Unknown Source)
      at org.drools.compiler.DrlParser.parse(Unknown Source)
      at org.drools.compiler.PackageBuilder.addPackageFromDrl(Unknown Source)
      at com.livetrail.CreditExample.main(CreditExample.java:26)

      Anyone has encounter this same problem when going tru the live trails?

      Please share your solution.