[rules-users] Drools 5.0 to 5.4 upgrade
Ben Cuthbert
bencuthbert at ymail.com
Sat May 26 10:27:56 EDT 2012
After upgrading the jars to the latest version I am getting this when starting my rules
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Caused by: java.lang.NoSuchFieldError: COMPILER_OPT_ALLOW_RESOLVE_INNERCLASSES_WITH_DOTNOTATION
at org.drools.rule.builder.PatternBuilder.setInputs(PatternBuilder.java:969)
at org.drools.rule.builder.PatternBuilder.buildRelationalExpression(PatternBuilder.java:669)
at org.drools.rule.builder.PatternBuilder.buildExpression(PatternBuilder.java:634)
at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:618)
at org.drools.rule.builder.PatternBuilder.processConstraintsAndBinds(PatternBuilder.java:449)
at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:310)
at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:118)
at org.drools.rule.builder.GroupElementBuilder.build(GroupElementBuilder.java:67)
at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:84)
at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:2706)
at org.drools.compiler.PackageBuilder.compileRules(PackageBuilder.java:930)
at org.drools.compiler.PackageBuilder.compileAllRules(PackageBuilder.java:839)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:831)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:467)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:673)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:45)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:34)
More information about the rules-users
mailing list