That did it Thanks.
 
Upgrading though did not fix my original problem.
 
I am trying to use "not Matches" in a rule and I get the following error: (this is even after upgrading to 4.0.2)
 

java.lang.RuntimeException

: Operator 'Operator = 'not matches'' does not exist for ObjectEvaluator
here is the rule segment:
xml :Row(tgrams:tgramsAccount != null, phone1:phoneNumber1 not matches "^1\s?[800|866|877|888]|null")

Gonna keep plugging away at it but any insight would be well appreciated ( i pay in beer)

 



 
On 10/10/07, Edson Tirelli <tirelli@post.com> wrote:

   Karl,

   Seems you are getting an MVEL JIT related error... did you upgraded the dependencies jars too (specially MVEL jar)?

    []s
    Edson

2007/10/10, Karl Trout < karl.trout@gmail.com>:
All I was trying to upgrade my application to use the latest 4.0.2
release but I seem to be getting errors
when my application is calling

import org.drools.compiler.DroolsParserException ;
import org.drools.compiler.PackageBuilder;

import org.drools.rule.Package ;
import org.drools.rule.Rule;

PackageBuilder builder = new PackageBuilder();new PackageBuilder();

here is the error thrown:

java.lang.IncompatibleClassChangeError: Implementing class
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:124)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal (WebappClassLoader.java:1817)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java :872)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
        at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319)
        at org.drools.rule.builder.dialect.mvel.MVELDialect .<init>(MVELDialect.java:78)
        at org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration.getDialect(MVELDialectConfiguration.java :26)
        at org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry (PackageBuilderConfiguration.java:166)
        at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:142)
        at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:86)
        at com.thomcomp.generate.action.RulesReader.readPackage(RulesReader.java:25)
        at com.thomcomp.generate.action.RulesReader.getRules (RulesReader.java:55)
        at com.thomcomp.generate.action.GetRulesDef.execute (GetRulesDef.java:47)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
        at org.apache.struts.action.ActionServlet.doGet (ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java :690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java :230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java :175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:104)
        at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run (JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java :595)


Did I miss something I can't seem to figure out where to start
looking. some advise would be appreciated.

running under tomcat 6 with   jdk1.5.0_09
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
  Edson Tirelli
  Software Engineer - JBoss Rules Core Developer
  Office: +55 11 3529-6000
  Mobile: +55 11 9287-5646
  JBoss, a division of Red Hat @ www.jboss.com

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