[jboss-user] [Beginners Corner] - ExpanderResolver was not set

jackywong do-not-reply at jboss.com
Thu Oct 19 08:04:49 EDT 2006


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.
Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979348#3979348

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979348



More information about the jboss-user mailing list