[rules-users] unable to resolve method using strict-mode

Edson Tirelli tirelli at post.com
Tue Jun 23 16:47:16 EDT 2009


   Can you create a self contained test case that I can execute to debug
this? If so, plz open a JIRA, attach the test case and let me know.

   Thanks,
     Edson


2009/6/23 Chris Richmond <crichmond at referentia.com>

>  I am using Drools 5.0.1 Final……MVEL is whatever version was downloaded
> with drools 5, specifically mvel2.jar.
>
>
>
> Thanks,
>
>
> Chris
>
>
>
>
>
>
>  ------------------------------
>
> *From:* rules-users-bounces at lists.jboss.org [mailto:
> rules-users-bounces at lists.jboss.org] *On Behalf Of *Edson Tirelli
> *Sent:* Tuesday, June 23, 2009 2:07 AM
> *To:* Rules Users List
> *Subject:* Re: [rules-users] unable to resolve method using strict-mode
>
>
>
>
>     What versions of Drools and MVEL are you using?
>
>    []s
>    Edson
>
> 2009/6/22 Chris Richmond <crichmond at referentia.com>
>
> I cannot seem to call a static method on one of my classes and keep getting
> this error:
>
>
>
> [Error: Failed to compile: 1 compilation error(s):
>
>  - (1,44) unable to resolve method using strict-mode:
> com.aps.syslog.logging.manager.LoggingManager.runLoggingTest(java.lang.String,
> com.aps.syslog.logging.Transaction)]
>
> [Near : {... Unknown ....}]
>
>
>
>
>
> When I call the static method:
>
>
>
> LoggingManager.runLoggingTest ("23223", transaction);
>
>
>
> Where the first argument can be any string and the second is a custom class
> that I isntatiated earlier in the RHS with no problems.
>
>
>
>
>
> Is the problem strict-mode? Or something else?
> LogginManager.runLoggingTest  is a static method but do I perhaps have to do
> something like:
>
>
>
>
>
> $lm : LoggingManager()
>
>
>
> Then call the static method using:
>
>
>
> $lm.runLoggingTest ("23223", transaction);
>
>
>
>
> Or something along these lines (I did try this but it failed as well).
>
>
>
>
>
> Thanks,
>
>
>
> Chris
>
>
>
>
>
>
> _______________________________________________
> 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, a division of Red Hat @ www.jboss.com
>
> _______________________________________________
> 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/20090623/9ddad600/attachment.html 


More information about the rules-users mailing list