Your facts must have a default constructor, due to our proxy generation with shadow facts. We are working on multiple solutions for this.

Mark
Tom Gonzalez wrote:
[rules-dev] 3.1-M1 - Can't get rules to build

I am attempting to convert our application to use drools 3.1.M from current use of 3.0.4.

I downloaded the binaries posted and am getting this very basic exception when building our rules.

     [java] Feb 19, 2007 5:21:25 PM com.nortel.connect.rbuilder.RulePackage addR
ulesFromDrlFile
     [java] INFO:       adding Rules from: CBMRules.drl (with associated DSL)
     [java] Exception in thread "main" java.lang.NoSuchFieldError: recognizer
     [java]     at org.drools.lang.DRLLexer$DFA18.<init>(DRLLexer.java:3914)
     [java]     at org.drools.lang.DRLLexer.<init>(DRLLexer.java:3565)
     [java]     at org.drools.compiler.DrlParser.getParser(DrlParser.java:78)
     [java]     at org.drools.compiler.DrlParser.parse(DrlParser.java:110)
     [java]     at org.drools.compiler.DrlParser.parse(DrlParser.java:96)
     [java]     at com.nortel.connect.rbuilder.RulePackage.addRulesFromDrlFile(R
ulePackage.java:219)

Any suggestions for getting past this?

Thanks,

Tom G


_______________________________________________ rules-dev mailing list rules-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev