I suspect that you are unwittingly loading one of your old jars, or an
older version.
Are you using version 5.6.RC1 consistently across k-api/core/compiler etc?
Davide
On 11/04/2013 02:24 PM, Jonathan Knehr wrote:
Just upgraded to the release candidate. I was using my own version of
5.6 that I had compiled a few months ago and everything was working fine.
Almost every single rule file now throws this exception when it gets
added to the knowledge base.
java.lang.NoSuchMethodError:
org.drools.base.ClassFieldReader.hasReadAccessor()Z
at
org.drools.base.ClassFieldAccessorStore.getReader(ClassFieldAccessorStore.java:129)
at
org.drools.base.ClassFieldAccessorStore.getReader(ClassFieldAccessorStore.java:104)
at
org.drools.rule.builder.PatternBuilder.getFieldReadAccessor(PatternBuilder.java:1572)
at
org.drools.rule.builder.PatternBuilder.buildRuleBindings(PatternBuilder.java:1123)
at
org.drools.rule.builder.PatternBuilder.buildCcdDescr(PatternBuilder.java:691)
at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:651)
at
org.drools.rule.builder.PatternBuilder.processConstraintsAndBinds(PatternBuilder.java:505)
at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:322)
at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:133)
at
org.drools.rule.builder.GroupElementBuilder.build(GroupElementBuilder.java:67)
at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:85)
at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:3169)
at
org.drools.compiler.PackageBuilder.compileRules(PackageBuilder.java:1036)
at
org.drools.compiler.PackageBuilder.compileAllRules(PackageBuilder.java:944)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:936)
at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:468)
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:698)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:40)
Sent from my iPhone
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users