[rules-users] Drools 5.0 to 5.4 upgrade

Edson Tirelli ed.tirelli at gmail.com
Sun May 27 10:34:04 EDT 2012


   Did you upgrade your MVEL jar to the new version as well?

   Edson

On Sat, May 26, 2012 at 10:27 AM, Ben Cuthbert <bencuthbert at ymail.com>wrote:

> 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)
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120527/2533c276/attachment.html 


More information about the rules-users mailing list